Hi Fink users. I'm trying to install bundle-gnome and it fails while installing librep-dev-0.16.2-11. I've seaerched the archives and found a reference to a similar situation. In that case, it is recommended to move /usr/local out of the way (which I tried) but it still doesn't work. I think it doesn't work becasue /usr/share is the problem in my case. Moving it out of the way causes a compile failure too because shared libraries are missing. I'm wondering if my problem is that some fink things have been put into /usr/share that should have been in /sw/share. Various outputs are pasted below with running annotations added by me:

Link to previous solution for similar problem:
http://www.geocrawler.com/mail/msg.php3?msg_id=8794365&list=8629

My output that failed the first time:

fungus:~ orlovich$ fink install bundle-gnome
/usr/bin/sudo /sw/bin/fink  install bundle-gnome
Information about 1776 packages read in 1 seconds.

<snip>
---------------------------------------------------------
Trying to install rep.m4 in /sw/src/root-librep-0.16.2-11/usr/share/aclocal;
if this fails, install it manually in a suitable location
---------------------------------------------------------
/usr/bin/install -c -m 644 ./rep.m4 /sw/src/root-librep-0.16.2-11/usr/share/aclocal
mkdir -p /sw/src/root-librep-0.16.2-11/sw/lib
/usr/bin/install -d -m 755 /sw/src/root-librep-0.16.2-11/sw/share/doc/librep
/usr/bin/install -c -p -m 644 README COPYING AUTHORS NEWS THANKS /sw/src/root-librep-0.16.2-11/sw/share/doc/librep/
/bin/rm -f /sw/src/root-librep-0.16.2-11/sw/info/dir /sw/src/root-librep-0.16.2-11/sw/info/dir.old /sw/src/root-librep-0.16.2-11/sw/share/info/dir /sw/src/root-librep-0.16.2-11/sw/share/info/dir.old
/bin/rm -rf /sw/src/root-librep-shlibs-0.16.2-11
/bin/mkdir -p /sw/src/root-librep-shlibs-0.16.2-11/sw
/bin/mkdir -p /sw/src/root-librep-shlibs-0.16.2-11/DEBIAN
/usr/bin/install -d -m 755 /sw/src/root-librep-shlibs-0.16.2-11/sw/lib
/bin/mv /sw/src/root-librep-0.16.2-11/sw/lib/librep.*.dylib /sw/src/root-librep-shlibs-0.16.2-11/sw/lib/
/usr/bin/install -d -m 755 /sw/src/root-librep-shlibs-0.16.2-11/sw/share/doc/librep-shlibs
/usr/bin/install -c -p -m 644 README COPYING AUTHORS NEWS THANKS /sw/src/root-librep-shlibs-0.16.2-11/sw/share/doc/librep-shlibs/
/bin/rm -f /sw/src/root-librep-shlibs-0.16.2-11/sw/info/dir /sw/src/root-librep-shlibs-0.16.2-11/sw/info/dir.old /sw/src/root-librep-shlibs-0.16.2-11/sw/share/info/dir /sw/src/root-librep-shlibs-0.16.2-11/sw/share/info/dir.old
/bin/rm -rf /sw/src/root-librep-dev-0.16.2-11
/bin/mkdir -p /sw/src/root-librep-dev-0.16.2-11/sw
/bin/mkdir -p /sw/src/root-librep-dev-0.16.2-11/DEBIAN
/usr/bin/install -d -m 755 /sw/src/root-librep-dev-0.16.2-11/sw
/bin/mv /sw/src/root-librep-0.16.2-11/sw/include /sw/src/root-librep-dev-0.16.2-11/sw/
/usr/bin/install -d -m 755 /sw/src/root-librep-dev-0.16.2-11/sw/lib
/bin/mv /sw/src/root-librep-0.16.2-11/sw/lib/*.la /sw/src/root-librep-dev-0.16.2-11/sw/lib/
/usr/bin/install -d -m 755 /sw/src/root-librep-dev-0.16.2-11/sw/lib
/bin/mv /sw/src/root-librep-0.16.2-11/sw/lib/librep.dylib /sw/src/root-librep-dev-0.16.2-11/sw/lib/
/usr/bin/install -d -m 755 /sw/src/root-librep-dev-0.16.2-11/sw/share
/bin/mv /sw/src/root-librep-0.16.2-11/sw/share/aclocal /sw/src/root-librep-dev-0.16.2-11/sw/share/
mv: rename /sw/src/root-librep-0.16.2-11/sw/share/aclocal to /sw/src/root-librep-dev-0.16.2-11/sw/share/aclocal: No such file or directory
### execution of /bin/mv failed, exit code 1
Failed: installing librep-dev-0.16.2-11 failed


Here is an ls of my /usr directory to show that there is no ./local, only ./local.old, which is what I renamed it to:

fungus:/usr orlovich$ ls -lsa
total 0
0 drwxr-xr-x   11 root  wheel    374 27 Nov 15:37 .
0 drwxrwxr-t   35 root  admin   1190 27 Nov 08:58 ..
0 drwxr-xr-x    8 root  wheel    272 25 Nov 21:34 X11R6
0 drwxr-xr-x  637 root  wheel  21658 27 Nov 08:09 bin
0 drwxr-xr-x  193 root  wheel   6562 25 Nov 21:35 include
0 drwxr-xr-x  188 root  wheel   6392 13 Sep 08:42 lib
0 drwxr-xr-x   61 root  wheel   2074 13 Sep 08:41 libexec
0 drwxr-xr-x    4 root  wheel    136 25 Nov 23:43 local.old
0 drwxr-xr-x  200 root  wheel   6800 25 Nov 22:41 sbin
0 drwxr-xr-x   43 root  wheel   1462 13 Sep 08:41 share
0 drwxr-xr-x    3 root  wheel    102 13 Sep 15:13 standalone

Then I realised it wasn't /usr/local that was getting in the way, it was /usr/share, but moving it to /usr/share.old produced the following compile failure:

<snip>
/bin/sh ../libtool --mode=link gcc -avoid-version -module -rpath /sw/lib/rep/powerpc-apple-darwin -L/sw/lib -o md5.la md5.lo rep-md5.lo
rm -fr .libs/md5.la .libs/md5.* .libs/md5.*


*** Warning: linker path does not have real file for library -lc.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libc and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/lib/libSystem.B.dylib


*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module md5.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
ar cru .libs/md5.a md5.lo rep-md5.lo
ranlib .libs/md5.a
creating md5.la
(cd .libs && rm -f md5.la && ln -s ../md5.la md5.la)

** Error: sdbm.la has no associated shared library;
** You may be missing a shared library from:  -L/sw/lib

make[1]: *** [check-dl] Error 1
make: *** [all] Error 1
### execution of  failed, exit code 2
Failed: compiling librep-0.16.2-11 failed
fungus:~ orlovich$

So ... I wondered what was in /usr/share - here it is:

fungus:~ orlovich$ ls -lsa /usr/share
total 112
 0 drwxr-xr-x   43 root  wheel   1462 13 Sep 08:41 .
 0 drwxr-xr-x   11 root  wheel    374 27 Nov 18:01 ..
 8 -rw-r--r--    1 root  wheel    600 26 Sep 11:11 Ssh.bin
 0 drwxr-xr-x    5 root  wheel    170 25 Nov 21:34 aclocal
 0 drwxr-xr-x   30 root  wheel   1020 13 Sep 14:28 aclocal-1.6
 0 drwxr-xr-x    9 root  wheel    306 25 Nov 21:34 autoconf
 0 drwxr-xr-x   21 root  wheel    714 13 Sep 14:28 automake-1.6
16 -rw-r--r--    1 root  wheel   6477 13 Sep 14:22 bison.hairy
40 -rw-r--r--    1 root  wheel  19205 13 Sep 14:22 bison.simple
 0 drwxr-xr-x   24 root  wheel    816 24 Sep 18:36 calendar
 0 drwxr-xr-x    5 root  wheel    170 27 Sep 21:18 cracklib
 0 drwxr-xr-x    8 root  wheel    272 24 Sep 18:52 cups
 0 drwxr-xr-x    3 root  wheel    102 24 Sep 18:44 curl
 0 drwxr-xr-x    8 root  wheel    272 13 Sep 08:41 dict
 0 drwxr-xr-x    7 root  wheel    238 24 Sep 18:36 doc
 0 drwxr-xr-x    4 root  wheel    136 24 Sep 18:47 emacs
 0 drwxr-xr-x   68 root  wheel   2312 24 Sep 18:41 enscript
 0 drwxr-xr-x    5 root  wheel    170 24 Sep 18:37 file
 0 drwxr-xr-x    5 root  wheel    170 25 Nov 21:34 gdb
 8 -r--r--r--    1 root  wheel   3267 14 Sep 15:55 gprof.callg
 8 -r--r--r--    1 root  wheel   1064 14 Sep 15:55 gprof.flat
 0 drwxr-xr-x    5 root  wheel    170 25 Nov 21:34 groff
 0 drwxr-xr-x    3 root  wheel    102 24 Sep 18:42 httpd
 0 drwxr-xr-x    3 root  wheel    102 24 Sep 18:41 icu
 0 drwxr-xr-x  175 root  wheel   5950 25 Nov 21:34 info
 0 drwxr-xr-x    6 root  wheel    204 25 Nov 21:34 libtool
 0 drwxr-xr-x  209 root  wheel   7106 25 Nov 21:34 locale
 0 drwxr-xr-x   17 root  wheel    578 13 Sep 08:41 man
 0 drwxr-xr-x   20 root  wheel    680 25 Nov 21:34 misc
 0 drwxr-xr-x   22 root  wheel    748 25 Nov 21:34 mk
 0 drwxr-xr-x    3 root  wheel    102 26 Sep 18:06 openldap
 0 drwxr-xr-x    3 root  wheel    102 24 Sep 18:45 screen
 0 drwxr-xr-x    2 root  wheel     68 13 Sep 08:41 skel
 0 drwxr-xr-x   13 root  wheel    442 13 Sep 12:50 snmp
 0 drwxr-xr-x    7 root  wheel    238 26 Sep 18:26 swat
 0 drwxr-xr-x    6 root  wheel    204 24 Sep 18:40 tabset
 0 drwxr-xr-x    3 root  wheel    102 24 Sep 18:47 tcsh
 0 drwxr-xr-x   44 root  wheel   1496 25 Nov 21:34 terminfo
32 -r--r--r--    1 root  wheel  12942 13 Sep 14:07 texi2html.init
 0 drwxr-xr-x    4 root  wheel    136 24 Sep 18:46 texinfo
 0 drwxr-xr-x    4 root  wheel    136 24 Sep 18:45 vim
 0 drwxr-xr-x   65 root  wheel   2210 26 Sep 18:08 zoneinfo
 0 drwxr-xr-x    4 root  wheel    136 24 Sep 18:46 zsh
fungus:~ orlovich$

It looks to me like some of these are fink-installed things. How did they get there!

Any help appreciated!

Cheers, David.



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to