David Orlovich wrote:
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

You cannot move /usr/share out of the way. It is an essential part of the system. If librep really puts things into /usr/share/aclocal/, it is a serious bug in that package. I am bouncing this to the (collective) maintainer of librep.


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

This is really not good. The package believes it installed in in /sw/share/aclocal as it should, see below.


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

It has no /sw/share/aclocal, because it used /usr/share/aclocal.


### 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,
[snip]
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!

I don't see fink-installed things. These are correct contents of /usr/share. The date of 25 Nov 21:34 is probably the date of your (re-)installation of the BSD.pks. Look in /Library/Receipts if you don't see a receipt with the same date stamp.


For the wrong rep.m4 you would have to look inside /usr/share/aclocal.

--
Martin



-------------------------------------------------------
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-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to