On 01 Dec 2008, at 15:27, Hanspeter Niederstrasser wrote: > Jean-François Mertens wrote: >> Removing it, and adding to the LDFLAGS -L/usr/X11R6/lib -lX11 >> gives me a kosher build... >>
> Can you check the latest version in my personal tree <http:// > cvs.snaggledworks.com/viewvc.cgi/fink/10.4/main/finkinfo/net/ > linuxdcpp.info>? I've gone back to using SetLDFLAGS: -L/usr/X11R6/ > lib -lX11. A diff shows it is exactly what I tested yesterday, apart from the deps. So went straigt to checking deps. > It works on 10.5 and had the added benefit of reducing the > dependency tree so I trimmed them out as well. > > And to be sure, can you check the rebuild w/ the following packages > removed: > bzip2-dev cairo glitz pixman freetype219 fontconfig2-dev Copying from my log, I get : Checking for C library bz2... yes ... g++ -o linuxdcpp -L/sw/lib/system-openssl/lib -L/usr/X11R6/lib -lX11 - L/usr/lib -Wl,-framework,CoreServices -Wl,- framework,ApplicationServices build/client/AdcCommand.o build/client/ AdcHub.o build/client/ADLSearch.o build/client/BufferedSocket.o build/ client/BZUtils.o build/client/Client.o build/client/ClientManager.o build/client/ConnectionManager.o build/client/CryptoManager.o build/ client/DCPlusPlus.o build/client/DirectoryListing.o build/client/ DownloadManager.o build/client/Encoder.o build/client/Exception.o build/client/FavoriteManager.o build/client/File.o build/client/ FinishedManager.o build/client/HashManager.o build/client/ HttpConnection.o build/client/LogManager.o build/client/NmdcHub.o build/client/QueueManager.o build/client/ResourceManager.o build/ client/SearchManager.o build/client/ServerSocket.o build/client/ SettingsManager.o build/client/SFVReader.o build/client/ ShareManager.o build/client/SimpleXML.o build/client/Socket.o build/ client/SSLSocket.o build/client/stdinc.o build/client/StringDefs.o build/client/StringTokenizer.o build/client/Text.o build/client/ Thread.o build/client/TigerHash.o build/client/TimerManager.o build/ client/UploadManager.o build/client/User.o build/client/ UserConnection.o build/client/Util.o build/client/ZUtils.o build/gui/ bookentry.o build/gui/dialogentry.o build/gui/downloadqueue.o build/ gui/eggtrayicon.o build/gui/entry.o build/gui/favoritehubs.o build/ gui/finishedtransfers.o build/gui/hashdialog.o build/gui/hub.o build/ gui/mainwindow.o build/gui/privatemessage.o build/gui/publichubs.o build/gui/search.o build/gui/settingsdialog.o build/gui/ settingsmanager.o build/gui/sharebrowser.o build/gui/treeview.o build/ gui/UserCommandMenu.o build/gui/wulfor.o build/gui/wulformanager.o build/gui/WulforUtil.o -L/sw/lib -L/sw/lib/freetype219/lib -L/sw/lib/ pango-ft219/lib -L/usr/X11R6/lib -lpthread -lbz2 -lcrypto -lssl - liconv -lglade-2.0 -lgtk-x11-2.0 -lxml2 -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 -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 - lgthread-2.0 -lglib-2.0 -lintl I see -lbz2 .. -lcairo there, and otool shows the dep on on libcairo. I now this (as well as the other deps you removed, except for bzip2) is among the recursive deps of libglade2-shlibs, so it doesn't matter much for the deps, but it shows that if someone can build it without having somewhere cairo-dev (and at least on 10.4 the only place is in /sw...), he definitely has a different deb As to bzip2, same remark, except that it doesn't fall among the recursive-deps of libglade2-shibs, and that because of your flags "-L/usr/lib" coming straight at the beginning, the thing uses libbz2 from /usr/lib, so the pkg as is does indeed not depend on bzip2. I keep however in mind that it was policy that pkgs should use fink's pkgs by preference even when an analog existed in /usr, and this especially for essential pkgs like bzip2. Further, /usr/lib should never be on a link line, it should come last, and is added there automatically .. Glancing at the above link line, I notice that when this is fixed you will also have to add libxml2 _ and you might notice by looking at it more carefully.. Best, Jean-Francois ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fink-devel mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.devel
