The previous error is fixed but now
the following shows up:

Looking for incorrect headers in 100 dependency files...
         ./src/image.d uses /usr/X11/include/libpng/png.h
         ./src/image.d uses /usr/X11/include/libpng/pngconf.h
Please fix build process to get consistent use of fink's headers.
### execution of /var/tmp/tmp.1.asBrc2 failed, exit code 255
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-emacs23-23.1-201
(Lettura del database ... 319772 file e directory attualmente  
installati.)
Rimozione di fink-buildlock-emacs23-23.1-201 ...
Failed: phase compiling: emacs23-23.1-201 failed

Cheers,
Alessio

On 21/lug/10, at 19:06, Daniel E. Macks wrote:

> Daniel E. Macks <[email protected]> said:
>> Jean-Fran?ois Mertens <[email protected]> said:
>>> I get the following error:
>>>
>>>> gcc  -prebind -Xlinker -headerpad -Xlinker 690 -L/sw/lib/pango- 
>>>> ft219/
>>>> lib -L/sw/lib/freetype219/lib -L/sw/lib/fontconfig2/lib -L/usr/ 
>>>> X11R6/
>>>> lib -o temacs pre-crt0.o dispnew.o frame.o scroll.o xdisp.o menu.o
>>>> xmenu.o window.o charset.o coding.o category.o ccl.o character.o
>>>> chartab.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o
>>>> xrdb.o fontset.o xsmfns.o fringe.o image.o gtkutil.o dbusbind.o
>>>> emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o
>>>> insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o
>>>> casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o
>>>> data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o
>>>> print.o lread.o syntax.o unexmacosx.o bytecode.o process.o
>>>> callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o
>>>> intervals.o textprop.o composite.o md5.o    xfont.o ftfont.o
>>>> xftfont.o ftxfont.o terminfo.o lastfile.o     -L/sw/lib -L/usr/X11/
>>>> lib  -L/usr/X11R6/lib -L/sw/lib -L/sw/lib/fontconfig2/lib -lgtk-
>>>> x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -
>>>> lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -
>>>> lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl - 
>>>> lpthread -
>>>> lSM -lICE -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lX11 -L/sw/lib/
>>>> fontconfig2/lib -L/sw/lib -L/usr/X11/lib -lXft -lXrender -
>>>> lfontconfig -lfreetype -lX11  -L/sw/lib -lrsvg-2 -lgdk_pixbuf-2.0 -
>>>> lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -L/sw/lib -
>>>> ldbus-1 -lpthread -lncurses  -L/sw/lib -Wl,- 
>>>> framework,CoreServices -
>>>> Wl,-framework,ApplicationServices -lz -lotf -lfreetype
>>>> Undefined symbols:
>>>>  "_png_check_sig", referenced from:
>>>>      _png_load in image.o
>>>>      _png_load in image.o
>>>
>>> -lpng is on the link command; so this is because of incorrect flag-
>>> ordering
>>> _  -L/usr/X11R6/lib coming before -L%p/lib . Indeed,
>>> %p/lib/libpng.dylib does define  _png_check_sig , while (with X11  
>>> 2.5.1)
>>> /usr/X11/lib/libpng.dylib does not.
>>>
>>> Adding -L%p/lib at the end of the SetLDFLAGS is a quick hack  
>>> around..
>>> (also, on systems where /usr/X11/lib/libpng.dylib would contain the
>>> symbol,
>>> this prevents incorrect linking.)
>>
>> emacs23 is next on my list of "cleanup for current gnome standards,
>> with fink-package-precedence", hopefully in the next day or so.
>
> Give revision -201 a try.
>
> dan
>
> -- 
> Daniel Macks
> [email protected]
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Fink-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fink-users


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to