On 8/4/06, Alexander K. Hansen <[EMAIL PROTECTED]> wrote:
> On 8/4/06, Alexander K. Hansen <[EMAIL PROTECTED]> wrote:
> > On 8/4/06, Alexander K. Hansen <[EMAIL PROTECTED]> wrote:
> > > On 8/4/06, Jonathan Levi, M.D. <[EMAIL PROTECTED]> wrote:
> > > > I couldn't seem to find this problem on the users' list:
> > > >
> > > > /bin/sh ../libtool --mode=link gcc  -O3 -funroll-loops
> > > > -fstrict-aliasing -pipe -Wall   -o libpixbufloader-jpeg.la -rpath
> > > > /sw/lib/gtk-2.0/2.4.0/loaders -avoid-version -module  io-jpeg.lo
> > > > -ljpeg libgdk_pixbuf-2.0.la -L/sw/lib -lgmodule-2.0 -lgobject-2.0
> > > > -lglib-2.0 -lintl -liconv    -lm -lintl
> > > > ../libtool: line 1: cd: @libdir@: No such file or directory
> > > > libtool: link: cannot determine absolute directory name of [EMAIL 
> > > > PROTECTED]@'
> > > > make[4]: *** [libpixbufloader-png.la] Error 1
> > > > make[4]: *** Waiting for unfinished jobs....
> > > > libtool: link: warning: `/sw/lib//libintl.la' seems to be moved
> > > > gcc ${wl}-undefined ${wl}dynamic_lookup -o
> > > > .libs/libpixbufloader-jpeg.so -bundle  .libs/io-jpeg.o
> > > > /sw/lib/libjpeg.dylib ./.libs/libgdk_pixbuf-2.0.dylib
> > > > /sw/lib//libintl.dylib -L/sw/lib /sw/lib/libgmodule-2.0.dylib
> > > > /sw/lib/libgobject-2.0.dylib /sw/lib/libglib-2.0.dylib
> > > > /sw/lib/libiconv.dylib -lm /sw/lib/libintl.dylib
> > > > /usr/bin/ld: warning multiple definitions of symbol _locale_charset
> > > > /sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
> > > > /sw/lib//libintl.dylib(localcharset.o) definition of _locale_charset
> > > > ar cru .libs/libpixbufloader-jpeg.a  io-jpeg.o
> > > > ranlib .libs/libpixbufloader-jpeg.a
> > > > creating libpixbufloader-jpeg.la
> > > > (cd .libs && rm -f libpixbufloader-jpeg.la && ln -s
> > > > ../libpixbufloader-jpeg.la libpixbufloader-jpeg.la)
> > > > make[3]: *** [all-recursive] Error 1
> > > > make[2]: *** [all] Error 2
> > > > make[1]: *** [all-recursive] Error 1
> > > > make: *** [all] Error 2
> > > > ### execution of ulimit failed, exit code 2
> > > > Removing build lock...
> > > > /sw/bin/dpkg-lockwait -r fink-buildlock-gtk+2-2.6.10-1001
> > > > (Reading database ... 55959 files and directories currently installed.)
> > > > Removing fink-buildlock-gtk+2-2.6.10-1001 ...
> > > > Failed: phase compiling: gtk+2-2.6.10-1001 failed
> > > >
> > > > tia,
> > > >
> > > > Jonathan
> > > >
> > > This may sound crazy, but what do you get from
> > >
> > > which sed
> > >
> > > and
> > >
> > > sed --version
> > >
> > > ?
> > >
> > > --
> > > Alexander K. Hansen
> > > Fink Documenter (still)
> > >
> >
> > Following up on my own post:  I get the same error with either Fink's
> > sed-4.1.4 or the built-in one.
> >
> > The line above what was quoted should make the problem more clear:
> >
> > creating libgdk_pixbuf-2.0.la
> > (cd .libs && rm -f libgdk_pixbuf-2.0.la && ln -s
> > ../libgdk_pixbuf-2.0.la libgdk_pixbuf-2.0.la)
> > /bin/sh ../libtool --mode=link gcc  -O3 -funroll-loops
> > -fstrict-aliasing -pipe -Wall   -o libpixbufloader-png.la -rpath
> > /sw/lib/gtk-2.0/2.4.0/loaders -avoid-version -module  io-png.lo
> > [EMAIL PROTECTED]@ -lpng12   libgdk_pixbuf-2.0.la -L/sw/lib -lgmodule-2.0
> > -lgobject-2.0 -lglib-2.0 -lintl -liconv    -lm -lintl
> >
> >
> > There are also unexpanded @includedir@ references in the build, too.
> > --
>
> OK.  The answer looks to be a problem with a .pc file from recent
> versions of libpng3.
>
> --
> Alexander K. Hansen
> Fink Documenter (still)
>

And as a stopgap one can edit /sw/lib/pkgconfig/libpng12.pc:

prefix=/sw
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/libpng12

Name: libpng
Description: Loads and saves PNG files
Version: 1.2.12
Libs: -L${libdir} -lpng12
Cflags: -I${includedir}

-- 
Alexander K. Hansen
Fink Documenter (still)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to