Re: [Fink-devel] libwmf fails to build

2006-02-08 Thread Martin Costabel

Nathaniel Gray wrote:

Hi folks,

This evening I downloaded fink 0.8.0, added unstable/main to the Trees 
list, then ran sudo fink install gimp2-dev


An hour later I got
Failed: compiling libwmf-0.2.8.2-5 failed

Here's the compiler error:
gcc -r -keep_private_externs -nostdlib -o .libs/io-wmf.so-master.o  
io-wmf.lo  gcc -bundle  -o .libs/io-wmf.so .libs/io-wmf.so-master.o  
-L/usr/local/lib -L/usr/X11R6/lib -L/sw/lib 
-L/Volumes/untitled/sw/src/libwmf-0.2.8.2-5/libwmf-0.2.8.2/src/.libs 
-lwmflite -L./.libs -lwmf -lgdk_pixbuf-2.0 -lm -lgobject-2.0 
-lgmodule-2.0 -lglib-2.0 -lintl -liconv -lc
/usr/bin/ld: warning can't open dynamic library: 
/sw/lib/libwmflite-0.2.7.dylib (checking for undefined symbols may be 
affected) (No such file or directory, errno = 2)

/usr/bin/ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
/usr/bin/ld: Undefined symbols:
_wmf_attr_add referenced from libwmf-0 expected to be defined in 
/sw/lib/libwmflite-0.2.7.dylib


Last time this error came up, it was caused by some alien libwmf sitting 
in /usr/local/lib. Moving /usr/local out of the way allowed building 
libwmf without problem. You can find the corresponding thread in the 
fink-users archive circa Oct 2, 2004.


--
Martin



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] libwmf fails to build

2006-02-08 Thread Nathaniel Gray

On Feb 8, 2006, at 11:28 AM, Martin Costabel wrote:


Last time this error came up, it was caused by some alien libwmf  
sitting in /usr/local/lib. Moving /usr/local out of the way allowed  
building libwmf without problem. You can find the corresponding  
thread in the fink-users archive circa Oct 2, 2004.


That was probably it.  I do have a copy of libwmf in /usr/local/lib.

Thanks,
-n8

--
-- Nathaniel Gray -- Caltech Computer Science --
-- Mojave Project -- http://mojave.cs.caltech.edu --




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] libwmf fails to build

2006-02-06 Thread Nathaniel Gray

Hi folks,

This evening I downloaded fink 0.8.0, added unstable/main to the  
Trees list, then ran sudo fink install gimp2-dev


An hour later I got
Failed: compiling libwmf-0.2.8.2-5 failed

Here's the compiler error:
gcc -r -keep_private_externs -nostdlib -o .libs/io-wmf.so-master.o   
io-wmf.lo  gcc -bundle  -o .libs/io-wmf.so .libs/io-wmf.so- 
master.o  -L/usr/local/lib -L/usr/X11R6/lib -L/sw/lib -L/Volumes/ 
untitled/sw/src/libwmf-0.2.8.2-5/libwmf-0.2.8.2/src/.libs -lwmflite - 
L./.libs -lwmf -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 - 
lglib-2.0 -lintl -liconv -lc
/usr/bin/ld: warning can't open dynamic library: /sw/lib/ 
libwmflite-0.2.7.dylib (checking for undefined symbols may be  
affected) (No such file or directory, errno = 2)

/usr/bin/ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
/usr/bin/ld: Undefined symbols:
_wmf_attr_add referenced from libwmf-0 expected to be defined in /sw/ 
lib/libwmflite-0.2.7.dylib
_wmf_attr_free referenced from libwmf-0 expected to be defined in /sw/ 
lib/libwmflite-0.2.7.dylib
_wmf_attr_new referenced from libwmf-0 expected to be defined in /sw/ 
lib/libwmflite-0.2.7.dylib

... and so on and so on ...

Here's something interesting:
[EMAIL PROTECTED] libwmf-0.2.8.2]$ pwd
/sw/src/libwmf-0.2.8.2-5/libwmf-0.2.8.2
[EMAIL PROTECTED] libwmf-0.2.8.2]$ find . -name libwmflite\*
./src/.libs/libwmflite-0.2.7.0.1.dylib
./src/.libs/libwmflite-0.2.7.0.1.dylib-master.o
./src/.libs/libwmflite-0.2.7.dylib
./src/.libs/libwmflite.a
./src/.libs/libwmflite.dylib
./src/.libs/libwmflite.la
./src/.libs/libwmflite.lai
./src/libwmflite.la

I don't know why the linker is so hell-bent on linking to /sw/lib/ 
libwmflite since the

-L/Volumes/untitled/.../libwmf-0.2.8.2/src/.libs/
flag is present and that's where the library lives.

Any ideas what I should do?

Thanks,
-n8

--
-- Nathaniel Gray -- Caltech Computer Science --
-- Mojave Project -- http://mojave.cs.caltech.edu --




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] libwmf fails to build

2006-02-06 Thread Daniel Macks
On Mon, Feb 06, 2006 at 11:06:14PM -0800, Nathaniel Gray wrote:
 
 Here's the compiler error:
 gcc -r -keep_private_externs -nostdlib -o .libs/io-wmf.so-master.o   
 io-wmf.lo  gcc -bundle  -o .libs/io-wmf.so .libs/io-wmf.so- 
 master.o  -L/usr/local/lib -L/usr/X11R6/lib -L/sw/lib -L/Volumes/ 
 untitled/sw/src/libwmf-0.2.8.2-5/libwmf-0.2.8.2/src/.libs -lwmflite - 
 L./.libs -lwmf -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 - 
 lglib-2.0 -lintl -liconv -lc
 /usr/bin/ld: warning can't open dynamic library: /sw/lib/ 
 libwmflite-0.2.7.dylib (checking for undefined symbols may be  
 affected) (No such file or directory, errno = 2)
 
 Here's something interesting:
 [EMAIL PROTECTED] libwmf-0.2.8.2]$ pwd
 /sw/src/libwmf-0.2.8.2-5/libwmf-0.2.8.2
 [EMAIL PROTECTED] libwmf-0.2.8.2]$ find . -name libwmflite\*
 ./src/.libs/libwmflite-0.2.7.0.1.dylib
 ./src/.libs/libwmflite-0.2.7.0.1.dylib-master.o
 ./src/.libs/libwmflite-0.2.7.dylib
 ./src/.libs/libwmflite.a
 ./src/.libs/libwmflite.dylib
 ./src/.libs/libwmflite.la
 ./src/.libs/libwmflite.lai
 ./src/libwmflite.la
 
 I don't know why the linker is so hell-bent on linking to /sw/lib/ 
 libwmflite since the
   -L/Volumes/untitled/.../libwmf-0.2.8.2/src/.libs/
 flag is present and that's where the library lives.
 
 Any ideas what I should do?

There's a -L/sw/lib flag before that. Do you have any libwmf* there?
Maybe you have a previous version of the fink libwmf package
installed? This is a fairly common bug, both by upstream authors and
by fink packagers trying to fix other upstream bugs. We don't yet have
a reasonably safe and clean way to test for it automatically:( I just
patched the libwmf package to be better at ignoring whatever libwmf
you may have installed. Once it propagates to your selfupdate server
and you selfupdate, you should be able to build libwmf (assuming the
original diagnosis was correct:) If you just can't wait, try
uninstalling libwmf (okay to leave its -shlibs and -bin component
packages).

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel