-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2/10/10 10:06 AM, Alexander Hansen wrote:
> On 2/10/10 9:56 AM, Dominique Dhumieres wrote:
>> Installing xdrawchem-1.9.9-11 failed on OSX 10.6.2 with:
> 
>> ...
>> checking QT_CXXFLAGS... -I/sw64/include/qt -D_REENTRANT -DQT_THREAD_SUPPORT
>> checking QT_LDADD... -L/sw64/lib -lqt-mt -LNONE -lXext -lX11 -lm -lSM -lICE 
>> -ldl -ljpeg
>> checking for ANSI C header files... (cached) yes
>> ...
>> /bin/sh ../libtool --tag=CXX --mode=link g++ -g -I/sw64/include/qt 
>> -D_REENTRANT -DQT_THREAD_SUPPORT -g -g -O2  -bind_at_load -dylib_file 
>> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
>>  -L/sw64/lib -o xdrawchem  application.o application_ring.o arrow.o 
>> biotools.o bond.o bondedit.o boshcp.o bracket.o cdx2cdxml.o cdxml_reader.o 
>> charsel.o chemdata.o chemdata_cdx.o chemdata_cdxml.o chemdata_cml.o 
>> chemdata_edit.o chemdata_mdl.o chemdata_rw.o chemdata_rxn.o chemdata_tools.o 
>> chemdata_xdc.o chemdata_xml.o crings_dialog.o curvearrow.o drawable.o 
>> fixeddialog.o graphdialog.o graphwidget.o helpwindow.o main.o molecule.o 
>> molecule_1h_nmr.o molecule_smiles.o molecule_sssr.o molecule_tools_1.o 
>> molecule_tools_2.o molinfodialog.o myfiledialog.o netaccess.o 
>> netchoosedialog.o netdialog.o pagesetupdialog.o peptidebuilder.o 
>> previewwidget.o render2d.o render2d_draw.o render2d_event.o render2d
_
> print.o render2d_select.o render2d_text.o ringdialog.o sdg.o smilesdialog.o 
> symbol.o text.o textshapedialog.o to3d.o xdc_toolbutton.o xml_cml.o 
> xml_reader.o ioiface.o application_ob.o chemdata_event.o molecule_obmol.o 
> tooldialog.o ngw.o tool_1h_nmr.o tool_13c_nmr.o tool_ir.o gobject.o 
> tool_2d3d.o xruler.o dyk.o retro.o application.moc.o graphwidget.moc.o 
> render2d.moc.o arrow.moc.o helpwindow.moc.o ringdialog.moc.o bondedit.moc.o 
> http.moc.o smilesdialog.moc.o bond.moc.o molecule.moc.o symbol.moc.o 
> bracket.moc.o molinfodialog.moc.o text.moc.o chemdata.moc.o 
> myfiledialog.moc.o tool_13c_nmr.moc.o crings_dialog.moc.o netaccess.moc.o 
> tool_1h_nmr.moc.o curvearrow.moc.o netchoosedialog.moc.o tool_2d3d.moc.o 
> drawable.moc.o netdialog.moc.o tooldialog.moc.o dyk.moc.o ngw.moc.o 
> tool_ir.moc.o fixeddialog.moc.o pagesetupdialog.moc.o xdc_toolbutton.moc.o 
> gobject.moc.o peptidebuilder.moc.o xruler.moc.o graphdialog.moc.o 
> previewwidget.moc.o charsel.moc.o biotools.moc.o textshapedialog.moc.o
 -
> L/sw64/lib -lqt-mt -LNONE -lXext -lX11 -lm -lSM -lICE -ldl -ljpeg -L/sw64/lib 
> -lopenbabel -L/sw64/lib -lqt-mt -LNONE -lXext -lX11 -lm -lSM -lICE -ldl -ljpeg
>> ../libtool: line 1800: cd: NONE: No such file or directory
>> libtool: link: cannot determine absolute directory name of `NONE'
>> make[2]: *** [xdrawchem] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>> ### execution of make failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw64/bin/dpkg-lockwait -r fink-buildlock-xdrawchem-1.9.9-11
>> (Reading database ... 188457 files and directories currently installed.)
>> Removing fink-buildlock-xdrawchem-1.9.9-11 ...
>> Failed: phase compiling: xdrawchem-1.9.9-11 failed
> 
>> TIA
> 
>> Dominique
> 
> 
> I get the same error on 10.5.

- From the config.log:

configure:19955: gcc -o conftest -g -O2 -I/sw/include -bind_at_load
- -dylib_file
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/Sy
stem/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -L/sw/
lib conftest.c -lXt  >&5
ld: library not found for -lXt
collect2: ld returned 1 exit status

It appears that the package has been relying on .la files to locate
libXt.dylib .

Adding

        --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib

to the ConfigureParams solves this issue.  Since that doesn't change the
package other than making it work on current/unstable, I hope Justin
doesn't mind my committing the fix.
- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkty0SAACgkQB8UpO3rKjQ+gkgCfTsBPJ+7lTuvK8tZy8jFIdnOM
ql4An3hspejzFm5Iclupf0t1kS47CqUJ
=+/x3
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to