pkgsrc-WIP-review archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Please review: wip/wordnet



On Mar 3, 2005, at 11:33 AM, Peter Bex wrote:
4. Include buildlink3.mk files before defining the pre-build target.
See pkgsrc/doc/Makefile-example for more information.

Why is this important?  I *think* I've seen more pkgs do it this way...

It is important for some complicated packages to make sure that all variables are set before defining targets. For the other packages, it's a matter of consistency.

Well, thanks a lot for your suggestions!  You could try if it works on
Darwin now.

Now it has a different problem. See below for the build logs and error messages.

Regards,
Min Sik Kim


[compiling all C files...]
ar rcv libwn.a binsrch.o morph.o search.o setutil.o wnglobal.o wnhelp.o wnrtl.o wnutil.o; ranlib libwn.a
a - binsrch.o
a - morph.o
a - search.o
a - setutil.o
a - wnglobal.o
a - wnhelp.o
a - wnrtl.o
a - wnutil.o
ranlib: file: libwn.a(setutil.o) has no symbols
Done compiling library
Compiling wn...
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I../include -O -DUNIX -no-cpp-precomp -I/usr/pkg/include -I/usr/include -c wn.c gcc -pipe -o wn -L/usr/pkg/lib -L/usr/lib -L/usr/X11R6/lib -Wl,-L../lib -Wl,-R/usr/pkg/lib -static wn.o -lwn
ld: can't locate file for: -lcrt0.o
*** Error code 1

Stop.
bmake: stopped in /Volumes/UFS/NetBSD/pkgsrc/wip/wordnet/work/WordNet-2.0/src/wn
Compiling wnb...
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -DUNIX -I../include -I -I -no-cpp-precomp -I/usr/pkg/include -I/usr/include -c stubs.c gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -DUNIX -I../include -I -I -no-cpp-precomp -I/usr/pkg/include -I/usr/include -c tkAppInit.c gcc -pipe -o wishwn -L/usr/pkg/lib -L/usr/lib -L/usr/X11R6/lib -Wl,-L../lib -Wl,-L/usr/pkg/lib -Wl,-L/lib -Wl,-R/lib -Wl,-L/lib -Wl,-R/lib -Wl,-L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib stubs.o tkAppInit.o -lwn -ltk -ltcl -lX11 -lm -lpthread
ld: warning -L: directory name (/lib) does not exist
ld: warning -L: directory name (/lib) does not exist
ld: Undefined symbols:
_CFBundleCopyPrivateFrameworksURL
_CFBundleCopySharedFrameworksURL
_CFBundleGetMainBundle
_CFRelease
_CFURLGetFileSystemRepresentation
_CFBundleCopyBundleURL
_CFBundleCopyResourceURL
_CFBundleCreate
_CFBundleGetBundleWithIdentifier
_CFStringCompare
_CFStringCreateWithCString
_CFURLCopyLastPathComponent
_CFURLCreateCopyAppendingPathComponent
___CFStringMakeConstantString
*** Error code 1

Stop.
bmake: stopped in /Volumes/UFS/NetBSD/pkgsrc/wip/wordnet/work/WordNet-2.0/src/wnb
Skipping grind...
Done compiling interfaces
Done building WordNet 2.0..



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
pkgsrc-wip-review mailing list
pkgsrc-wip-review%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review



Home | Main Index | Thread Index | Old Index