Hello again Fink users and Martin - thanks for the help - I really appreciate it. I've inserted notes after Martin's comments below:

On 27/11/2003, at 11:20 PM, Martin Costabel wrote:

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.

right! well I won't do that again.


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.

thanks...



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.

OK - I can't find my rep.m4 file ... 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.

OK, well if I list the contents of /usr/share/aclocal, I don't see it:


fungus:/usr/share/aclocal orlovich$ ls -lsa /usr/share/aclocal
total 480
  0 drwxr-xr-x   5 root  wheel     170 25 Nov 21:34 .
  0 drwxr-xr-x  43 root  wheel    1462 13 Sep 08:41 ..
416 -rw-r--r--   1 root  wheel  210179 13 Sep 13:34 libtool.m4
 32 -rw-r--r--   1 root  wheel   15870 13 Sep 12:30 libxml.m4
 32 -rw-r--r--   1 root  wheel   13781 13 Sep 13:34 ltdl.m4


and (as expected I guess) it's not in /sw/share/aclocal:


fungus:/usr/share/aclocal orlovich$ ls -lsa /sw/share/aclocal
total 384
 0 drwxr-xr-x  25 root  admin    850 27 Nov 13:24 .
 0 drwxr-xr-x  36 root  admin   1224 27 Nov 13:24 ..
24 -rw-r--r--   1 root  admin   8962 27 Nov 12:20 ORBit.m4
16 -rw-r--r--   1 root  admin   6791 26 Nov 23:18 audiofile.m4
 8 -rw-r--r--   1 root  admin    462 26 Nov 10:04 codeset.m4
16 -rw-r--r--   1 root  admin   6866 26 Nov 23:20 esd.m4
32 -rw-r--r--   1 root  admin  14589 26 Nov 10:04 gettext.m4
16 -rw-r--r--   1 root  admin   8176 26 Nov 21:46 glib-2.0.m4
24 -rw-r--r--   1 root  admin   9988 26 Nov 21:46 glib-gettext.m4
24 -rw-r--r--   1 root  admin   8442 26 Nov 20:38 glib.m4
 8 -rw-r--r--   1 root  admin    534 26 Nov 10:04 glibc21.m4
16 -rw-r--r--   1 root  admin   7528 26 Nov 22:13 gtk-2.0.m4
24 -rw-r--r--   1 root  admin   8285 26 Nov 21:34 gtk.m4
 8 -rw-r--r--   1 root  admin   3404 27 Nov 13:24 guile.m4
 8 -rw-r--r--   1 root  admin   2290 26 Nov 10:04 iconv.m4
24 -rw-r--r--   1 root  admin  11371 26 Nov 23:42 imlib.m4
16 -rw-r--r--   1 root  admin   7840 27 Nov 11:16 intltool.m4
 8 -rw-r--r--   1 root  admin    604 26 Nov 10:04 isc-posix.m4
 8 -rw-r--r--   1 root  admin   1066 26 Nov 10:04 lcmessage.m4
24 -rw-r--r--   1 root  admin   8314 27 Nov 12:20 libIDL.m4
32 -rw-r--r--   1 root  admin  15874 27 Nov 11:41 libxml.m4
16 -rw-r--r--   1 root  admin   8062 27 Nov 11:45 libxslt.m4
 8 -rw-r--r--   1 root  admin   2025 26 Nov 21:39 pkg.m4
 8 -rw-r--r--   1 root  admin   1692 26 Nov 10:04 progtest.m4
16 -rw-r--r--   1 root  admin   6133 27 Nov 11:16 xml-i18n-tools.m4
fungus:/usr/share/aclocal orlovich$


### 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.



OK I understand now - and yes those date stamps do indicate when i reinstalled, so that's fine.


I've just tried to run fink instal; bundle-gnome again to see what the configure script says. It certainly does pick the wrong aclocal - here's the line from the config script:

checking for aclocal directory... /usr/share/aclocal

but WAIT! - I've just realised where it is:

fungus:/sw/src/root-librep-0.16.2-11/usr/share/aclocal orlovich$ ls -lsa
total 8
0 drwxr-xr-x  3 root  admin   102 27 Nov 23:42 .
0 drwxr-xr-x  3 root  admin   102 27 Nov 23:42 ..
8 -rw-r--r--  1 root  admin  2030 27 Nov 23:42 rep.m4
fungus:/sw/src/root-librep-0.16.2-11/usr/share/aclocal orlovich$

so, if I copy that file to /sw/share/aclocal, maybe this will work - here goes:

sudo cp /sw/src/root-librep-0.16.2-11/usr/share/aclocal/rep.m4 /sw/share/aclocal

nope that didn't - so I've copied it to the following:

/sw/src/root-librep-0.16.2-11/sw/share/aclocal/rep.m4

(I had to make the aclocal dir as there wasn't one - and I've tried to compile it again - but I fear that fink will just erase my work before it starts again so I really ned to fix the configure script instead...

Yes, as I feared, it failed again - so I guess this has to get done by the maintainers... it's bed time

OK well I'll welcome any more comments - thanks again for the help.

David.


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