[freebsd-questions] Error in Makefile?

David Meier meier at logmail.net
Thu Jan 15 16:16:00 PST 2004


Hi Lowell,

you are absolutely right. I was able to build it using gmake. Actually, I
used mod_jk2 at the end and I have the system up and running now. Thanks
for your help!

Dave

> "David Meier" <meier at logmail.net> writes:
>
>> I am trying to build mod_jk-1.2.5 from source on 4.9-RELEASE and I
>> encounter at the end of the build process the following error:
>>
>> ...
>> /usr/local/bin/bash /usr/local/apache/build/libtool --silent
>> --mode=install cp `pwd`/mod_jk.so
>> libtool: install: you must specify a destination
>> Try `libtool --help --mode=install' for more information.
>> *** Error code 1
>>
>> Whe looking at the Makefile it looks like the build stops at that
>> command:
>>
>> ...
>> mod_jk.so: mod_jk.la
>>         $(LIBTOOL) --mode=install cp $< `pwd`/$@
>> ...
>>
>> I have no expirience in writing Makefiles, however, it looks like that
>> line does not work on FreeBSD.
>>
>> Anyone any idea to rewrite the line or to edit the command manually?
>> Thanks.
>
> It looks kind of like you're using the wrong make program.
>
> Try building it from ports; that's what ports is there for.
>
> --
> Lowell Gilbert, embedded/networking software engineer, Boston area:
> 		resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
> 		username/password "public"
>
>


More information about the freebsd-questions mailing list