Patrick Tescher wrote:
> 
> Whenever I try to install sawfish, I get the following error
> ** Error: readline.la has no associated shared library;
> ** You may be missing a shared library from:  -L/sw/lib readline
> /usr/local/lib/libncurses.la

Standard first answer: Try to move this /usr/local stuff out of the way
while compiling fink packages.

Having said this, I have to add that I just tried a "fink rebuild
sawfish", and it didn't succeed either, although I have a working
sawfish installed which shows that some time ago it did build. 

It rather turned into a nightmare. It seems to me that the gnome stuff
is thoroughly broken right now. I tried it on 3 different machines, all
updated to the latest fink packages with slightly different package
selections and configurations.

The error I am getting is

/sw/libexec/rep/powerpc-apple-darwin/libtool --mode=link gcc
-avoid-version -module    -rpath /sw/libexec/rep/powerpc-apple-darwin
-L/sw/lib -o play-sample.la play-sample.lo -L/sw/lib -lesd -laudiofile
-lm -L.libs -L/sw/lib -laudiofile -lm
libtool: link: cannot find the library `'
make[1]: *** [play-sample.la] Error 1
make: *** [all] Error 1
###  failed, exit code 2
Failed: compiling sawfish-1.0.1-1 failed

I tracked this down to a "-L.libs" coming from "esound-config --cflags"
from esound-0.2.23-1 which was not there in esound-0.2.22. When I remove
this, compiling goes further up to

/bin/sh -ec 'gcc -MM -DHAVE_CONFIG_H -DSAWFISH -I. -I.. -no-cpp-precomp
-I/sw/include -g -O2 -Wall -Wmissing-prototypes -Wno-implicit-int
-I/sw/include -DNEED_GNOMESUPPORT_H -I/sw/lib/gnome-libs/include
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/sw/include/orbit-1.0
-I/sw/include/gtk-1.2 -I/usr/X11R6/include sawmill-capplet.c \
| sed '\''s/sawmill-capplet\.o/& sawmill-capplet.lo
.sawmill-capplet\.d/g'\'' > .sawmill-capplet.d'
In file included from sawmill-capplet.c:42:
/sw/include/capplet-widget.h:6: warning: No include path in which to
find gnome.h
gcc -DHAVE_CONFIG_H -DSAWFISH -I. -I.. -no-cpp-precomp -I/sw/include -g
-O2 -Wall -Wmissing-prototypes -Wno-implicit-int -I/sw/include
-DNEED_GNOMESUPPORT_H -I/sw/lib/gnome-libs/include
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/sw/include/orbit-1.0
-I/sw/include/gtk-1.2 -I/usr/X11R6/include -L/sw/lib -o sawfish-capplet
sawmill-capplet.c ../src/libclient.o  -L/sw/lib -L/usr/X11R6/lib
-lcapplet -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk
-lgmodule -ldl -lintl -lXext -lX11 -lgnome -lgnomesupport -lesd
-laudiofile -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib -lm -lgnorba
In file included from sawmill-capplet.c:42:
/sw/include/capplet-widget.h:6: gnome.h: No such file or directory
make[1]: *** [sawfish-capplet] Error 1
make: *** [all] Error 1
###  failed, exit code 2
Failed: compiling sawfish-1.0.1-1 failed

This one I blame on /sw/lib/cappletConf.sh from the control-center
package which should include -I/sw/include/gnome-1.0 but doesn't.

So I tried to 'fink rebuild control-center". This one failed with

Making all in macros
make[2]: Nothing to be done for `all'.
Making all in control-center
make[2]: *** No rule to make target `no', needed by
`my_control_center_idl'.  Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
### OLD_PO_FILE_INPUT=yes failed, exit code 2
Failed: compiling control-center-1.4.0.1-5 failed

Oh well.. I'm going to bed now to have my nightmares there...

-- 
Martin

_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to