Re: [Fink-users] libiconv problem

2009-11-17 Thread Daniel Macks
On Tue, Nov 17, 2009 at 09:53:50AM +0100, Martin Costabel wrote:
> 
> Fink should definitely handle the *.la file mess. But with the currently 
> greatly reduced activity of the Fink chiefs, it is not sure when this 
> will happen. They had a year to mull it over.

There's a solution I proposed on wiki a few weeks ago with a test
implementation. I wrote it about 3 years ago (it's a generic hack that
could certainly handle the .la cleanups) and keep asking for testers
(I'm not going to release a hack to a root-running 'dpkg' without
second sets of eyes!). I've gotten IRC "seems like a decent idea", but
nothing more. Maybe when wiki revives I'll actually get some testing
feedback.

dan

-- 
Daniel Macks
dma...@netspace.org
http://www.netspace.org/~dmacks


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libiconv problem

2009-11-17 Thread Martin Costabel
Ben Abbott wrote:
[]
> I've moved each of the *.la files to a folder on my desktop
> 
> When building octave from the developer's sources, I still get the libtool 
> warnings ...

But these are only warnings now, no error.

> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
[]
> Which is strange, since ...
> 
> $ ls -l /sw/lib/gcc4.4/lib//libgfortran.la
> -rwxr-xr-x 1 root admin 944 2009-11-02 09:25 
> /sw/lib/gcc4.4/lib//libgfortran.la

Usually you get these warnings when the *.la file is found in a 
directory that does not correspond to its "libdir" field. Maybe libtool 
is allergic to the double "//". But then the next question would be 
where this double "//" comes from. Certainly from another *.la file. And 
so on...

> I installed gcc4.4 after I had previously deleted all the *.la files. Perhaps 
> I should delete them again (or better yet, should Fink handle that)?

Fink should definitely handle the *.la file mess. But with the currently 
greatly reduced activity of the Fink chiefs, it is not sure when this 
will happen. They had a year to mull it over.

OTOH, the *.la file mess only appears when you upgrade from 10.5 to 
10.6. Once you have a sane system *.la-file-wise, then building packages 
that create further *.la files should not cause problems. The only bad 
*.la files are those that have dependency_libs fields that point to 
non-existing other *.la files, and they do this only because these other 
*.la files existed previously and were removed during the upgrade.

> I haven't tried deleted anything else. Octave does build, but when I try to 
> run it ... 
> 
> $ ./run-octave
> Bus error

Now this is a different story. It should go into a different thread 
(once there is more information from the crash log).

-- 
Martin

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libiconv problem

2009-11-16 Thread Ben Abbott

On Nov 16, 2009, at 6:42 PM, Martin Costabel wrote:

> Ben Abbott wrote:
> []
>> I did get a hit in /usr/Xll/lib
>> $ grep libiconv.la -r /usr/X11/lib/
>> /usr/X11/lib/libfontconfig.la:dependency_libs=' -L/usr/X11/lib 
>> /usr/lib/libiconv.la  /usr/X11/lib/libfreetype.la  -lz  /usr/lib/libexpat.la 
>>  '
>> Is this expected?
> 
> No. Snow Leopard's X11 doesn't have *.la files. Did you at some time create 
> *.la files in /usr/X11 by running my fix-x11-la.sh script? If yes, remove 
> them. If not, remove them anyway.
> 
> -- 
> Martin

I did not create them (AFAIK). In any event, the entire list of .la files is 
below.

$ ls -l /usr/X11/lib/*.la
-rw-r--r-- 1 root wheel 1000 2009-08-29 11:31 /usr/X11/lib/libAppleWM.la
-rw-r--r-- 1 root wheel  871 2009-08-29 11:31 /usr/X11/lib/libFS.la
-rw-r--r-- 1 root wheel  877 2009-08-29 11:31 /usr/X11/lib/libICE.la
-rw-r--r-- 1 root wheel  895 2009-08-29 11:31 /usr/X11/lib/libSM.la
-rw-r--r-- 1 root wheel  927 2009-08-29 11:31 /usr/X11/lib/libX11.la
-rw-r--r-- 1 root wheel  982 2009-08-29 11:31 /usr/X11/lib/libXRes.la
-rw-r--r-- 1 root wheel 1059 2009-08-29 11:31 /usr/X11/lib/libXTrap.la
-rw-r--r-- 1 root wheel  877 2009-08-29 11:31 /usr/X11/lib/libXau.la
-rw-r--r-- 1 root wheel 1089 2009-08-29 11:31 /usr/X11/lib/libXaw6.la
-rw-r--r-- 1 root wheel 1113 2009-08-29 11:31 /usr/X11/lib/libXaw7.la
-rw-r--r-- 1 root wheel 1123 2009-08-29 11:31 /usr/X11/lib/libXaw8.la
-rw-r--r-- 1 root wheel 1045 2009-08-29 11:31 /usr/X11/lib/libXcomposite.la
-rw-r--r-- 1 root wheel 1030 2009-08-29 11:31 /usr/X11/lib/libXcursor.la
-rw-r--r-- 1 root wheel 1002 2009-08-29 11:31 /usr/X11/lib/libXdamage.la
-rw-r--r-- 1 root wheel  889 2009-08-29 11:31 /usr/X11/lib/libXdmcp.la
-rw-r--r-- 1 root wheel  988 2009-08-29 11:31 /usr/X11/lib/libXevie.la
-rw-r--r-- 1 root wheel  958 2009-08-29 11:31 /usr/X11/lib/libXext.la
-rw-r--r-- 1 root wheel  969 2009-08-29 11:31 /usr/X11/lib/libXfixes.la
-rw-r--r-- 1 root wheel  971 2009-08-29 11:31 /usr/X11/lib/libXfont.la
-rw-r--r-- 1 root wheel 1018 2009-08-29 11:31 /usr/X11/lib/libXfontcache.la
-rw-r--r-- 1 root wheel 1040 2009-08-29 11:31 /usr/X11/lib/libXft.la
-rw-r--r-- 1 root wheel  970 2009-08-29 11:31 /usr/X11/lib/libXi.la
-rw-r--r-- 1 root wheel 1006 2009-08-29 11:31 /usr/X11/lib/libXinerama.la
-rw-r--r-- 1 root wheel 1046 2009-08-29 11:31 /usr/X11/lib/libXmu.la
-rw-r--r-- 1 root wheel  957 2009-08-29 11:31 /usr/X11/lib/libXmuu.la
-rw-r--r-- 1 root wheel  970 2009-08-29 11:31 /usr/X11/lib/libXp.la
-rw-r--r-- 1 root wheel  953 2009-08-29 11:31 /usr/X11/lib/libXpm.la
-rw-r--r-- 1 root wheel 1160 2009-08-29 11:31 /usr/X11/lib/libXprintAppUtil.la
-rw-r--r-- 1 root wheel  2009-08-29 11:31 /usr/X11/lib/libXprintUtil.la
-rw-r--r-- 1 root wheel 1022 2009-08-29 11:31 /usr/X11/lib/libXrandr.la
-rw-r--r-- 1 root wheel  975 2009-08-29 11:31 /usr/X11/lib/libXrender.la
-rw-r--r-- 1 root wheel  976 2009-08-29 11:31 /usr/X11/lib/libXss.la
-rw-r--r-- 1 root wheel  992 2009-08-29 11:31 /usr/X11/lib/libXt.la
-rw-r--r-- 1 root wheel  982 2009-08-29 11:31 /usr/X11/lib/libXtst.la
-rw-r--r-- 1 root wheel  970 2009-08-29 11:31 /usr/X11/lib/libXv.la
-rw-r--r-- 1 root wheel 1005 2009-08-29 11:31 /usr/X11/lib/libXvMC.la
-rw-r--r-- 1 root wheel 1011 2009-08-29 11:31 /usr/X11/lib/libXvMCW.la
-rw-r--r-- 1 root wheel 1012 2009-08-29 11:31 /usr/X11/lib/libXxf86misc.la
-rw-r--r-- 1 root wheel 1000 2009-08-29 11:31 /usr/X11/lib/libXxf86vm.la
-rw-r--r-- 1 root wheel 1094 2009-08-29 11:31 /usr/X11/lib/libcairo.la
-rw-r--r-- 1 root wheel  976 2009-08-29 11:31 /usr/X11/lib/libdmx.la
-rw-r--r-- 1 root wheel  997 2009-08-29 11:31 /usr/X11/lib/libfontconfig.la
-rw-r--r-- 1 root wheel  906 2009-08-29 11:31 /usr/X11/lib/libfontenc.la
-rw-r--r-- 1 root wheel  888 2009-08-29 11:31 /usr/X11/lib/libfreetype.la
-rw-r--r-- 1 root wheel  906 2009-08-29 11:31 /usr/X11/lib/liblbxutil.la
-rw-r--r-- 1 root wheel  957 2009-08-29 11:31 /usr/X11/lib/liboldX.la
-rw-r--r-- 1 root wheel  909 2009-08-29 11:31 /usr/X11/lib/libpixman-1.la
-rw-r--r-- 1 root wheel  902 2009-08-29 11:31 /usr/X11/lib/libpng.la
-rw-r--r-- 1 root wheel  896 2009-08-29 11:31 /usr/X11/lib/libpng12.la
-rw-r--r-- 1 root wheel  981 2009-08-29 11:31 /usr/X11/lib/libxcb-atom.la
-rw-r--r-- 1 root wheel  975 2009-08-29 11:31 /usr/X11/lib/libxcb-aux.la
-rw-r--r-- 1 root wheel 1011 2009-08-29 11:31 /usr/X11/lib/libxcb-composite.la
-rw-r--r-- 1 root wheel  993 2009-08-29 11:31 /usr/X11/lib/libxcb-damage.la
-rw-r--r-- 1 root wheel  981 2009-08-29 11:31 /usr/X11/lib/libxcb-dpms.la
-rw-r--r-- 1 root wheel  987 2009-08-29 11:31 /usr/X11/lib/libxcb-event.la
-rw-r--r-- 1 root wheel  975 2009-08-29 11:31 /usr/X11/lib/libxcb-glx.la
-rw-r--r-- 1 root wheel 1079 2009-08-29 11:31 /usr/X11/lib/libxcb-icccm.la
-rw-r--r-- 1 root wheel 1043 2009-08-29 11:31 /usr/X11/lib/libxcb-image.la
-rw-r--r-- 1 root wheel  999 2009-08-29 11:31 /usr/X11/lib/libxcb-keysyms.la
-rw-r--r-- 1 root wheel 1035 2009-08-29 11:31 /usr/X11/lib/libxcb-property.la
-rw-r--r-- 1 root whe

Re: [Fink-users] libiconv problem

2009-11-16 Thread Martin Costabel
Ben Abbott wrote:
[]
> I did get a hit in /usr/Xll/lib
> 
> $ grep libiconv.la -r /usr/X11/lib/
> /usr/X11/lib/libfontconfig.la:dependency_libs=' -L/usr/X11/lib 
> /usr/lib/libiconv.la  /usr/X11/lib/libfreetype.la  -lz  /usr/lib/libexpat.la  
> '
> 
> Is this expected?

No. Snow Leopard's X11 doesn't have *.la files. Did you at some time 
create *.la files in /usr/X11 by running my fix-x11-la.sh script? If 
yes, remove them. If not, remove them anyway.

-- 
Martin

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libiconv problem

2009-11-16 Thread Ben Abbott
On Nov 16, 2009, at 3:52 PM, Martin Costabel wrote:

> Ben Abbott wrote:
> []
>> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be 
>> moved
>> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be 
>> moved
>> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be 
>> moved
>> grep: /usr/lib/libiconv.la: No such file or directory
> []
>> Looking for '/usr/lib/libiconv.la' in /usr/lib/ I do get several hits. Is 
>> this expected?
> 
> I suppose so. But I don't see how any of these could play a role here.
> 
> I also still don't understand what can cause the warning about 
> libgfrortran.la. Are you sure you don't have stuff in /usr/local/lib that 
> interferes here?
> 
> -- 
> Martin


I tried ...

$ grep gfortran -r /usr/local/lib/
$ grep libiconv -r /usr/local/lib/

But found nothing.

I did get a hit in /usr/Xll/lib

$ grep libiconv.la -r /usr/X11/lib/
/usr/X11/lib/libfontconfig.la:dependency_libs=' -L/usr/X11/lib 
/usr/lib/libiconv.la  /usr/X11/lib/libfreetype.la  -lz  /usr/lib/libexpat.la  '

Is this expected?

My X11 is XQuartz 2.3.4 (xorg-server 1.4.2-apple45)

Ben


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libiconv problem

2009-11-16 Thread Ben Abbott
On Monday, November 16, 2009, at 03:52PM, "Martin Costabel" 
 wrote:
>Ben Abbott wrote:
>[]
>> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be 
>> moved
>> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be 
>> moved
>> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be 
>> moved
>> grep: /usr/lib/libiconv.la: No such file or directory
>[]
>> Looking for '/usr/lib/libiconv.la' in /usr/lib/ I do get several hits. Is 
>> this expected?
>
>I suppose so. But I don't see how any of these could play a role here.
>
>I also still don't understand what can cause the warning about 
>libgfrortran.la. Are you sure you don't have stuff in /usr/local/lib 
>that interferes here?
>
>-- 
>Martin

As I said before, the line below returns a lot f ruby related stuff, but 
nothing that Octave should be linking to, AFAIK.

$ grep /usr/lib/libiconv.la -r /usr/lib 

Is there something else I can check.

I also don't understand what is causing the warnings about libgfortran. A grep 
of 'libgfortran.la' in /usr/lib and /sw/lib as well as my octave archive each 
come up empty.

Ben

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libiconv problem

2009-11-16 Thread Martin Costabel
Ben Abbott wrote:
[]
> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
> grep: /usr/lib/libiconv.la: No such file or directory
[]
> Looking for '/usr/lib/libiconv.la' in /usr/lib/ I do get several hits. Is 
> this expected?

I suppose so. But I don't see how any of these could play a role here.

I also still don't understand what can cause the warning about 
libgfrortran.la. Are you sure you don't have stuff in /usr/local/lib 
that interferes here?

-- 
Martin

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libiconv problem

2009-11-16 Thread Ben Abbott
 On Monday, November 16, 2009, at 12:39PM, "Martin Costabel" 
 wrote:
>Ben Abbott wrote:
>[]
>> $ ls -l /sw/lib/fontconfig2/lib/libfontconfig.la
>> lrwxr-xr-x 1 root admin 21 2009-11-16 04:40 
>> /sw/lib/fontconfig2/lib/libfontconfig.la -> libfontconfig.fink.la
>> 
>> Might I be able to work around the problem by creating a link, like the one 
>> below?
>> 
>> $ sudo ln -fs /sw/lib/libiconv.la /usr/lib
>
>No, changing anything in /usr/lib is always a bad idea.
>
>I insist: If you are still getting the error
>
>grep: /usr/lib/libiconv.la: No such file or directory
>
>then there *must* be a *.la file somewhere on your linker search path 
>that has /usr/lib/libiconv.la in its dependency_libs field. Maybe in 
>your octave build directory. Unfortunately this *.la stuff is 
>contagious, so it might be possible that an earlier attempt to build 
>octave - while libfontconfig.la was still pointing to a contaminated .la 
>file - left you with an infected *.la file in the octave build tree.
>
>BTW, I don't quite see a scenario that allows you to still have - as you 
>do - /sw/lib/gcc4.4/lib/libgfortran.la and 
>/sw/lib/fontconfig2/lib/libfontconfig.la, but not 
>/sw/lib/fontconfig2/lib/libfontconfig.fink.la. The latter is created 
>each time you rebuild or reinstall fontconfig2-dev.
>
>At what point did you remove all *.la files under /sw/lib?
>
>-- 
>Martin

In the event I got it wrong before …

$ fink reinstall fontconfig2-dev
Password:
Information about 8441 packages read in 4 seconds.
The following package will be reinstalled:
 fontconfig2-dev
Reading buildlock packages...
All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i 
/sw/fink/dists/unstable/main/binary-darwin-i386/x11/fontconfig2-dev_2.4.1-208_darwin-i386.deb
(Reading database ... 198712 files and directories currently installed.)
Preparing to replace fontconfig2-dev 2.4.1-208 (using 
.../fontconfig2-dev_2.4.1-208_darwin-i386.deb) ...
Unpacking replacement fontconfig2-dev ...
Setting up fontconfig2-dev (2.4.1-208) ...

$ ls -l /sw/lib/fontconfig2/lib/libfontconfig*
lrwxr-xr-x 1 root admin   34 2009-11-16 04:39 
/sw/lib/fontconfig2/lib/libfontconfig.1.dylib -> 
/usr/X11/lib/libfontconfig.1.dylib
lrwxr-xr-x 1 root admin   32 2009-11-16 12:43 
/sw/lib/fontconfig2/lib/libfontconfig.dylib -> /usr/X11/lib/libfontconfig.dylib
-rw-r--r-- 1 root admin 1004 2009-11-16 12:43 
/sw/lib/fontconfig2/lib/libfontconfig.fink.la
lrwxr-xr-x 1 root admin   21 2009-11-16 12:43 
/sw/lib/fontconfig2/lib/libfontconfig.la -> libfontconfig.fink.la

Then I deleted all files not part of Octave's sources.

$ hg status | grep '^? ' | sed "s/^? /rm /g" | /bin/sh

and started a fresh build.

$ autogen …
$ configure …
$ make
...
libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
grep: /usr/lib/libiconv.la: No such file or directory
/sw/bin/sed: can't read /usr/lib/libiconv.la: No such file or directory
libtool: link: `/usr/lib/libiconv.la' is not a valid libtool archive
make[3]: *** [liboctinterp.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

If I delete the libfrontconfig.fink.la, I get the same result.

$ sudo rm /sw/lib/fontconfig2/lib/libfontconfig.fink.la
$ make
...
libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
grep: /usr/lib/libiconv.la: No such file or directory
/sw/bin/sed: can't read /usr/lib/libiconv.la: No such file or directory
libtool: link: `/usr/lib/libiconv.la' is not a valid libtool archive
make[3]: *** [liboctinterp.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Looking for '/usr/lib/libconv.la' where I build octave, I get no results.

Looking for '/usr/lib/libiconv.la' in /usr/lib/ I do get several hits. Is this 
expected?

$ grep /usr/lib/libiconv.la -r /usr/lib 
grep: /usr/lib/cron/tabs: Permission denied
grep: /usr/lib/cron/tmp: Permission denied
/usr/lib/ruby/site_ruby/1.8/universal-darwin9.0/svn/ext/client.la:dependency_libs='
 -R/usr/lib /usr/lib/libsvn_swig_ruby-1.la -L/usr/lib /usr/lib/libsvn_wc-1.la 
/usr/lib/libsvn_delta-1.la /usr/lib/libsvn_client-1.la /usr/lib/libsvn_wc-1.la 
/usr/lib/libsvn_ra-1.la /usr/lib/libsvn_ra_local-1.la 
/usr/lib/libsvn_repos-1.la /usr/lib/libsvn_fs-1.la /usr/lib/libsvn_fs_fs-1.la 
/usr/lib/libsvn_ra_svn-1.la /usr/lib/libsvn_ra_dav-1.la /usr/lib/libneon.la 
-lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv 
/usr/lib/libsvn_delta-1.la /usr/lib/libsvn_diff-1.la /usr/lib/libsvn_subr-1.la 
/usr/lib/libsvn_subr-1.la -laprutil-1 -lsqlite3 /usr/lib/libexpat.la 
/usr/lib/libiconv.la -lapr-1 -lpthread -lz'
/usr/lib/ruby/site_ruby/1.8/unive

Re: [Fink-users] libiconv problem

2009-11-16 Thread Martin Costabel
Ben Abbott wrote:
[]
> $ ls -l /sw/lib/fontconfig2/lib/libfontconfig.la
> lrwxr-xr-x 1 root admin 21 2009-11-16 04:40 
> /sw/lib/fontconfig2/lib/libfontconfig.la -> libfontconfig.fink.la
> 
> Might I be able to work around the problem by creating a link, like the one 
> below?
> 
> $ sudo ln -fs /sw/lib/libiconv.la /usr/lib

No, changing anything in /usr/lib is always a bad idea.

I insist: If you are still getting the error

grep: /usr/lib/libiconv.la: No such file or directory

then there *must* be a *.la file somewhere on your linker search path 
that has /usr/lib/libiconv.la in its dependency_libs field. Maybe in 
your octave build directory. Unfortunately this *.la stuff is 
contagious, so it might be possible that an earlier attempt to build 
octave - while libfontconfig.la was still pointing to a contaminated .la 
file - left you with an infected *.la file in the octave build tree.

BTW, I don't quite see a scenario that allows you to still have - as you 
do - /sw/lib/gcc4.4/lib/libgfortran.la and 
/sw/lib/fontconfig2/lib/libfontconfig.la, but not 
/sw/lib/fontconfig2/lib/libfontconfig.fink.la. The latter is created 
each time you rebuild or reinstall fontconfig2-dev.

At what point did you remove all *.la files under /sw/lib?

-- 
Martin

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libiconv problem

2009-11-16 Thread Ben Abbott
On Monday, November 16, 2009, at 11:18AM, "Martin Costabel" 
 wrote:
>Ben Abbott wrote:
>[]
>> My fontconfig2 lib directory how holds ...
>> 
>> $ ls /sw/lib/fontconfig2/lib
>> libfontconfig.1.dylib  libfontconfig.dylib  libfontconfig.la  pkgconfig
>> 
>> However, I still get the error below (when I try to build Octave using the 
>> deverloper's sources).
>> 
>> /bin/sh ../libtool --tag=CXX   --mode=link g++-4 -I /sw/include -O3 
>> -I/sw/include/freetype2 -I/sw/include   -DHAVE_CONFIG_H -mieee-fp 
>> -I/usr/X11/include   -Wall -W -Wshadow -Wold-style-cast -Wformat -I 
>> /sw/include -O3 -I/sw/include/freetype2 -I/sw/include -D_THREAD_SAFE  -I 
>> /sw/include -O3 -I/sw/include/freetype2 -I/sw/include -release 3.3.50+  
>> -L/sw/lib/fltk-aqua/lib -L/sw/lib/flex/lib -L/sw/lib/gcc4.4/lib/ -L/sw/lib 
>> -lgfortran -lGraphicsMagick -lfltk_gl -lfltk -lpthread -o liboctinterp.la 
>> -rpath /sw/lib/octave-3.3.50+ liboctinterp_la-Cell.lo 
>> liboctinterp_la-bitfcns.lo <***snip***> liboctinterp_la-Quad-opts.lo   
>> ../liboctave/liboctave.la ../libcruft/libcruft.la   -lfftw3 -lfftw3f  -lhdf5 
>>  -lz -L/usr/X11/lib -lfontconfig -Wl,-framework -Wl,OpenGL -L/usr/X11/lib 
>> -lX11  -lreadline -lncurses   -framework Accelerate -lm  -L/sw/lib 
>> -lfreetype -lz -Wl,-framework,CoreServices 
>> -Wl,-framework,ApplicationServices -Wl,-framework -Wl,OpenGL 
>> /sw/lib/gcc4.4/lib/libgfortran.dylib -lm  -L/
>sw
>>  /lib -lfreetype -lz -Wl,-framework,CoreServices 
>> -Wl,-framework,ApplicationServices -Wl,-framework -Wl,OpenGL
>> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be 
>> moved
>> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be 
>> moved
>> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be 
>> moved
>> grep: /usr/lib/libiconv.la: No such file or directory
>> /sw/bin/sed: can't read /usr/lib/libiconv.la: No such file or directory
>
>The obvious question is: Is /usr/lib/libiconv.la still mentioned in 
>libfontconfig.la? If not, where else is it mentioned? There *must* be 
>some *.la file that has /usr/lib/libiconv.la in its dependency_libs field.
>
>  grep /usr/lib/libiconv.la -r /sw/lib
>
>-- 
>Martin

This is what I get.

$ grep /usr/lib/libiconv.la -r /sw/lib 
grep: /sw/lib/fontconfig2/lib/libfontconfig.la: No such file or directory
grep: /sw/lib/libecpg.4.dylib: No such file or directory
grep: /sw/lib/libecpg_compat.3.dylib: No such file or directory
grep: /sw/lib/qt3/mkspecs/darwin-g++/darwin-g++: No such file or directory
grep: /sw/lib/qt3/mkspecs/default/darwin-g++: No such file or directory
grep: /sw/lib/treectrl2.1/htmldoc/treectrl.html: Permission denied
grep: /sw/lib/treectrl2.1/htmldoc/What's New in TkTreeCtrl.html: Permission 
denied
grep: /sw/lib/X11/fonts/appleotf/AquaKanaBold.otf: No such file or directory
grep: /sw/lib/X11/fonts/appleotf/AquaKanaRegular.otf: No such file or directory
grep: /sw/lib/X11/fonts/applettf/Chalkboard.ttf: No such file or directory
grep: /sw/lib/X11/fonts/applettf/ChalkboardBold.ttf: No such file or directory

The "no such file or directory" are all links to non-existent targets.

$ ls -l /sw/lib/fontconfig2/lib/libfontconfig.la
lrwxr-xr-x 1 root admin 21 2009-11-16 04:40 
/sw/lib/fontconfig2/lib/libfontconfig.la -> libfontconfig.fink.la

Might I be able to work around the problem by creating a link, like the one 
below?

$ sudo ln -fs /sw/lib/libiconv.la /usr/lib

Ben


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libiconv problem

2009-11-16 Thread Martin Costabel
Ben Abbott wrote:
[]
> My fontconfig2 lib directory how holds ...
> 
> $ ls /sw/lib/fontconfig2/lib
> libfontconfig.1.dylib  libfontconfig.dylib  libfontconfig.la  pkgconfig
> 
> However, I still get the error below (when I try to build Octave using the 
> deverloper's sources).
> 
> /bin/sh ../libtool --tag=CXX   --mode=link g++-4 -I /sw/include -O3 
> -I/sw/include/freetype2 -I/sw/include   -DHAVE_CONFIG_H -mieee-fp 
> -I/usr/X11/include   -Wall -W -Wshadow -Wold-style-cast -Wformat -I 
> /sw/include -O3 -I/sw/include/freetype2 -I/sw/include -D_THREAD_SAFE  -I 
> /sw/include -O3 -I/sw/include/freetype2 -I/sw/include -release 3.3.50+  
> -L/sw/lib/fltk-aqua/lib -L/sw/lib/flex/lib -L/sw/lib/gcc4.4/lib/ -L/sw/lib 
> -lgfortran -lGraphicsMagick -lfltk_gl -lfltk -lpthread -o liboctinterp.la 
> -rpath /sw/lib/octave-3.3.50+ liboctinterp_la-Cell.lo 
> liboctinterp_la-bitfcns.lo <***snip***> liboctinterp_la-Quad-opts.lo   
> ../liboctave/liboctave.la ../libcruft/libcruft.la   -lfftw3 -lfftw3f  -lhdf5  
> -lz -L/usr/X11/lib -lfontconfig -Wl,-framework -Wl,OpenGL -L/usr/X11/lib 
> -lX11  -lreadline -lncurses   -framework Accelerate -lm  -L/sw/lib -lfreetype 
> -lz -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices 
> -Wl,-framework -Wl,OpenGL /sw/lib/gcc4.4/lib/libgfortran.dylib -lm  -L/
sw
>  /lib -lfreetype -lz -Wl,-framework,CoreServices 
> -Wl,-framework,ApplicationServices -Wl,-framework -Wl,OpenGL
> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
> grep: /usr/lib/libiconv.la: No such file or directory
> /sw/bin/sed: can't read /usr/lib/libiconv.la: No such file or directory

The obvious question is: Is /usr/lib/libiconv.la still mentioned in 
libfontconfig.la? If not, where else is it mentioned? There *must* be 
some *.la file that has /usr/lib/libiconv.la in its dependency_libs field.

  grep /usr/lib/libiconv.la -r /sw/lib

-- 
Martin

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libiconv problem

2009-11-16 Thread Ben Abbott

On Nov 16, 2009, at 5:33 AM, Martin Costabel wrote:

> Ben Abbott wrote:
> []
>> However, I have no libfontconfig.fink.la file.
> 
> Well, I don't know what you did in the meantime. If you followed the advice 
> to remove *all* *.la files in /sw/lib and all of its subdirectories, then 
> libfontconfig.fink.la will have been removed, too, and you should be safe.
> 
>> You mentioned I should *not* try to "reinstall" fontconfig2-dev, but then 
>> instructed that I do ? ? ?
> 
> The issue usually show up in the following way:
> There is the "/usr/lib/libiconv.la: No such file or directory" error, and 
> trying to track it down one finds that the culprit is libfontconfig.la. 
> Removing this file works, temporarily, but reinstalling or rebuilding 
> fontconfig2-dev brings back the broken libfontconfig.la file, because it is 
> reconstructed from the broken libfontconfig.fink.la. The latter does not 
> obstruct linking commands by itself, it only serves as a template to recreate 
> libfontconfig.la.
> 
> In short, if you really opt for removing all *.la files under /sw/lib, you 
> will avoid the error caused by absent system *.la files. But you may hit 
> other snags, in kde packages, for example.
> 

I deleted the *.la files some weeks ago. When I encounter problems with missing 
.la files, I've simply rebuilt what was missing.

I've done as recommended  

> sudo rm /sw/lib/fontconfig2/lib/libfontconfig.fink.la
> fink reinstall fontconfig2-dev

My fontconfig2 lib directory how holds ...

$ ls /sw/lib/fontconfig2/lib
libfontconfig.1.dylib  libfontconfig.dylib  libfontconfig.la  pkgconfig

However, I still get the error below (when I try to build Octave using the 
deverloper's sources).

/bin/sh ../libtool --tag=CXX   --mode=link g++-4 -I /sw/include -O3 
-I/sw/include/freetype2 -I/sw/include   -DHAVE_CONFIG_H -mieee-fp 
-I/usr/X11/include   -Wall -W -Wshadow -Wold-style-cast -Wformat -I /sw/include 
-O3 -I/sw/include/freetype2 -I/sw/include -D_THREAD_SAFE  -I /sw/include -O3 
-I/sw/include/freetype2 -I/sw/include -release 3.3.50+  -L/sw/lib/fltk-aqua/lib 
-L/sw/lib/flex/lib -L/sw/lib/gcc4.4/lib/ -L/sw/lib -lgfortran -lGraphicsMagick 
-lfltk_gl -lfltk -lpthread -o liboctinterp.la -rpath /sw/lib/octave-3.3.50+ 
liboctinterp_la-Cell.lo liboctinterp_la-bitfcns.lo <***snip***> 
liboctinterp_la-Quad-opts.lo   ../liboctave/liboctave.la 
../libcruft/libcruft.la   -lfftw3 -lfftw3f  -lhdf5  -lz -L/usr/X11/lib 
-lfontconfig -Wl,-framework -Wl,OpenGL -L/usr/X11/lib -lX11  -lreadline 
-lncurses   -framework Accelerate -lm  -L/sw/lib -lfreetype -lz 
-Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -Wl,-framework 
-Wl,OpenGL /sw/lib/gcc4.4/lib/libgfortran.dylib -lm  -L/sw/lib -lfreetype -lz 
-Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -Wl,-framework 
-Wl,OpenGL
libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
grep: /usr/lib/libiconv.la: No such file or directory
/sw/bin/sed: can't read /usr/lib/libiconv.la: No such file or directory
libtool: link: `/usr/lib/libiconv.la' is not a valid libtool archive
make[3]: *** [liboctinterp.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Ben
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libiconv problem

2009-11-16 Thread Martin Costabel
Ben Abbott wrote:
[]
> However, I have no libfontconfig.fink.la file.

Well, I don't know what you did in the meantime. If you followed the 
advice to remove *all* *.la files in /sw/lib and all of its 
subdirectories, then libfontconfig.fink.la will have been removed, too, 
and you should be safe.

> You mentioned I should *not* try to "reinstall" fontconfig2-dev, but then 
> instructed that I do ? ? ?

The issue usually show up in the following way:
There is the "/usr/lib/libiconv.la: No such file or directory" error, 
and trying to track it down one finds that the culprit is 
libfontconfig.la. Removing this file works, temporarily, but 
reinstalling or rebuilding fontconfig2-dev brings back the broken 
libfontconfig.la file, because it is reconstructed from the broken 
libfontconfig.fink.la. The latter does not obstruct linking commands by 
itself, it only serves as a template to recreate libfontconfig.la.

In short, if you really opt for removing all *.la files under /sw/lib, 
you will avoid the error caused by absent system *.la files. But you may 
hit other snags, in kde packages, for example.

-- 
Martin


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libiconv problem

2009-11-16 Thread Ben Abbott

On Nov 16, 2009, at 3:26 AM, Martin Costabel wrote:

> Ben Abbott wrote:
> []
 grep: /usr/lib/libiconv.la: No such file or directory
> 
> Removing /sw/lib/fontconfig2/lib/libfontconfig.la (which is a symlink) will 
> do the trick here.
> 
> But don't try to reinstall the fontconfig2-dev package: It will bring the 
> broken *.la file back. For a permanent solution do
> 
> sudo rm /sw/lib/fontconfig2/lib/libfontconfig.fink.la
> fink reinstall fontconfig2-dev
> 
> This is a known (and as yet unfixed) problem that breaks the 10.5->10.6 
> upgrade path. See the thread "[Fink-beginners] Troubles with Installation" 
> from around September 21. I'll CC the fontconfig2 maintainer onc more.

Martin,

You are correct that rebuilding libiconv.la would not work.

However, I have no libfontconfig.fink.la file. 

You mentioned I should *not* try to "reinstall" fontconfig2-dev, but then 
instructed that I do ? ? ?

Did you intend to give instructions to "rebuild"?

> fink rebuild fontconfig2-dev

Ben

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libiconv problem

2009-11-16 Thread Martin Costabel
Ben Abbott wrote:
[]
>>> grep: /usr/lib/libiconv.la: No such file or directory

Removing /sw/lib/fontconfig2/lib/libfontconfig.la (which is a symlink) 
will do the trick here.

But don't try to reinstall the fontconfig2-dev package: It will bring 
the broken *.la file back. For a permanent solution do

  sudo rm /sw/lib/fontconfig2/lib/libfontconfig.fink.la
  fink reinstall fontconfig2-dev

This is a known (and as yet unfixed) problem that breaks the 10.5->10.6 
upgrade path. See the thread "[Fink-beginners] Troubles with 
Installation" from around September 21. I'll CC the fontconfig2 
maintainer onc more.

-- 
Martin

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libiconv problem

2009-11-15 Thread Ben Abbott

On Nov 15, 2009, at 8:01 PM, Alexander Hansen wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Ben Abbott wrote:
>> I'm attempting to build Octave using the developers sources. When I do so, I 
>> encounter the error below.
>> 
>> [...]
>> /bin/sh ../libtool --tag=CXX   --mode=link g++-4 -O3 -I/sw/include/freetype2 
>> -I/sw/include   -DHAVE_CONFIG_H -mieee-fp -I/usr/X11/include   -Wall -W 
>> -Wshadow -Wold-style-cast -Wformat -O3 -I/sw/include/freetype2 -I/sw/include 
>> -D_THREAD_SAFE  -O3 -I/sw/include/freetype2 -I/sw/include -release 3.3.50+  
>> -L/sw/lib/fltk-aqua/lib -L/sw/lib/flex/lib -L/sw/lib/gcc4.4/lib/ -L/sw/lib 
>> -lgfortran -lGraphicsMagick -lfltk_gl -lfltk -lpthread -o liboctinterp.la 
>> -rpath /sw/lib/octave-3.3.50+ liboctinterp_la-Cell.lo […] 
>> ../libcruft/libcruft.la   -lfftw3 -lfftw3f  -lhdf5  -lz -L/usr/X11/lib 
>> -lfontconfig -Wl,-framework -Wl,OpenGL -L/usr/X11/lib -lX11  -lreadline 
>> -lncurses   -framework Accelerate -lm  -L/sw/lib -lfreetype -lz 
>> -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices 
>> -Wl,-framework -Wl,OpenGL /sw/lib/gcc4.4/lib/libgfortran.dylib -lm  
>> -L/sw/lib -lfreetype -lz -Wl,-framework,CoreServices 
>> -Wl,-framework,ApplicationServices -Wl,-framework -Wl,OpenGL
>> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be 
>> moved
>> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be 
>> moved
>> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be 
>> moved
>> grep: /usr/lib/libiconv.la: No such file or directory
>> /sw/bin/sed: can't read /usr/lib/libiconv.la: No such file or directory
>> libtool: link: `/usr/lib/libiconv.la' is not a valid libtool archive
>> make[3]: *** [liboctinterp.la] Error 1
>> make[2]: *** [all] Error 2
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>> 
>> Before attempting my buid, I set the following ...
>> 
>> export CFLAGS="-I /sw/include"
>> export LDFLAGS=-L/sw/lib
>> export CXXFLAGS=$CFLAGS
>> export CPPFLAGS=$CXXFLAGS
>> export ACLOCAL_FLAGS="-I /sw/share/aclocal"
>> export PKG_CONFIG_PATH="/sw/lib/pkgconfig"
>> export PATH=/sw/var/lib/fink/path-prefix-10.6/:$PATH
>> export MACOSX_DEPLOYMENT_TARGET=10.5
>> 
>> I'm on Snow Leopard and have chosen to use the 32bit Fink.
>> 
>> Any help in resolving this would be appreciated.
>> 
>> TiA
>> 
>> Ben
>> 
> 
> (maybe at some point I'll have enough time to update Fink's octave)
> 
> I'm assuming you updated from 10.5?
> 
> We've been telling people to use
> 
>   find /sw/lib -name *.la -delete
> 
> to remove references to .la files that existed on Leopard but no longer
> do on Snow Leopard.
> 
> If you didn't update from 10.5, then some other .la files have those
> references hardcoded.
> - --
> Alexander Hansen

Thanks Alex. 

Yes, I've updated from 10.5 and deleted all my old .la files. As I've 
encountered missing files I've rebuilt them ... which I now realize I should 
do. I've started a rebuild of libiconv.

fink rebuild libiconv libiconv-bin libiconv-dev

I'll report back tomorrow.

Ben


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libiconv problem

2009-11-15 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ben Abbott wrote:
> I'm attempting to build Octave using the developers sources. When I do so, I 
> encounter the error below.
> 
> [...]
> /bin/sh ../libtool --tag=CXX   --mode=link g++-4 -O3 -I/sw/include/freetype2 
> -I/sw/include   -DHAVE_CONFIG_H -mieee-fp -I/usr/X11/include   -Wall -W 
> -Wshadow -Wold-style-cast -Wformat -O3 -I/sw/include/freetype2 -I/sw/include 
> -D_THREAD_SAFE  -O3 -I/sw/include/freetype2 -I/sw/include -release 3.3.50+  
> -L/sw/lib/fltk-aqua/lib -L/sw/lib/flex/lib -L/sw/lib/gcc4.4/lib/ -L/sw/lib 
> -lgfortran -lGraphicsMagick -lfltk_gl -lfltk -lpthread -o liboctinterp.la 
> -rpath /sw/lib/octave-3.3.50+ liboctinterp_la-Cell.lo […] 
> ../libcruft/libcruft.la   -lfftw3 -lfftw3f  -lhdf5  -lz -L/usr/X11/lib 
> -lfontconfig -Wl,-framework -Wl,OpenGL -L/usr/X11/lib -lX11  -lreadline 
> -lncurses   -framework Accelerate -lm  -L/sw/lib -lfreetype -lz 
> -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -Wl,-framework 
> -Wl,OpenGL /sw/lib/gcc4.4/lib/libgfortran.dylib -lm  -L/sw/lib -lfreetype -lz 
> -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -Wl,-framework 
> -Wl,OpenGL
> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
> grep: /usr/lib/libiconv.la: No such file or directory
> /sw/bin/sed: can't read /usr/lib/libiconv.la: No such file or directory
> libtool: link: `/usr/lib/libiconv.la' is not a valid libtool archive
> make[3]: *** [liboctinterp.la] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> Before attempting my buid, I set the following ...
> 
> export CFLAGS="-I /sw/include"
> export LDFLAGS=-L/sw/lib
> export CXXFLAGS=$CFLAGS
> export CPPFLAGS=$CXXFLAGS
> export ACLOCAL_FLAGS="-I /sw/share/aclocal"
> export PKG_CONFIG_PATH="/sw/lib/pkgconfig"
> export PATH=/sw/var/lib/fink/path-prefix-10.6/:$PATH
> export MACOSX_DEPLOYMENT_TARGET=10.5
> 
> I'm on Snow Leopard and have chosen to use the 32bit Fink.
> 
> Any help in resolving this would be appreciated.
> 
> TiA
> 
> Ben
> 

(maybe at some point I'll have enough time to update Fink's octave)

I'm assuming you updated from 10.5?

We've been telling people to use

find /sw/lib -name *.la -delete

to remove references to .la files that existed on Leopard but no longer
do on Snow Leopard.

If you didn't update from 10.5, then some other .la files have those
references hardcoded.
- --
Alexander Hansen
Fink User Liaison
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksApFIACgkQB8UpO3rKjQ8OTACggh1PGRsd0KdyNiw2Hnztt/QB
MnsAoJUouhidadU6L2XonaBpFz7Ec04B
=XCKc
-END PGP SIGNATURE-

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] libiconv problem

2009-11-15 Thread Ben Abbott
I'm attempting to build Octave using the developers sources. When I do so, I 
encounter the error below.

[...]
/bin/sh ../libtool --tag=CXX   --mode=link g++-4 -O3 -I/sw/include/freetype2 
-I/sw/include   -DHAVE_CONFIG_H -mieee-fp -I/usr/X11/include   -Wall -W 
-Wshadow -Wold-style-cast -Wformat -O3 -I/sw/include/freetype2 -I/sw/include 
-D_THREAD_SAFE  -O3 -I/sw/include/freetype2 -I/sw/include -release 3.3.50+  
-L/sw/lib/fltk-aqua/lib -L/sw/lib/flex/lib -L/sw/lib/gcc4.4/lib/ -L/sw/lib 
-lgfortran -lGraphicsMagick -lfltk_gl -lfltk -lpthread -o liboctinterp.la 
-rpath /sw/lib/octave-3.3.50+ liboctinterp_la-Cell.lo […] 
../libcruft/libcruft.la   -lfftw3 -lfftw3f  -lhdf5  -lz -L/usr/X11/lib 
-lfontconfig -Wl,-framework -Wl,OpenGL -L/usr/X11/lib -lX11  -lreadline 
-lncurses   -framework Accelerate -lm  -L/sw/lib -lfreetype -lz 
-Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -Wl,-framework 
-Wl,OpenGL /sw/lib/gcc4.4/lib/libgfortran.dylib -lm  -L/sw/lib -lfreetype -lz 
-Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -Wl,-framework 
-Wl,OpenGL
libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved
grep: /usr/lib/libiconv.la: No such file or directory
/sw/bin/sed: can't read /usr/lib/libiconv.la: No such file or directory
libtool: link: `/usr/lib/libiconv.la' is not a valid libtool archive
make[3]: *** [liboctinterp.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Before attempting my buid, I set the following ...

export CFLAGS="-I /sw/include"
export LDFLAGS=-L/sw/lib
export CXXFLAGS=$CFLAGS
export CPPFLAGS=$CXXFLAGS
export ACLOCAL_FLAGS="-I /sw/share/aclocal"
export PKG_CONFIG_PATH="/sw/lib/pkgconfig"
export PATH=/sw/var/lib/fink/path-prefix-10.6/:$PATH
export MACOSX_DEPLOYMENT_TARGET=10.5

I'm on Snow Leopard and have chosen to use the 32bit Fink.

Any help in resolving this would be appreciated.

TiA

Ben
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users