On Aug 2, 2006, at 4:23 PM, Martin Costabel wrote: > Andrew, I am replying to the list, too, because direct mail might > not arrive; your mail server refused an erlier message from me with > some harsh words about my ISP. >
Odd, I have my ISP's spam filter off. I think I've received mail from you before too. > 1. It wants the metakit python module, and there is no Fink package > for this yet. But making one should not be too difficult either. It > is a small project, and I got it to compile with only one little > change: It compiles its python module as Mk4py.dylib which is > wrong, it needs to be Mk4py.so. So one has to change that name and > also a compiler flag "-dynamiclib" to "-bundle". Ok, changed the make file here: INSTALL = /sw/bin/ginstall -c INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} LIB_SUFFIX = .a SHLIB_SUFFIX = .dylib SHLIB_LD = g++ -bundle -flat_namespace -undefined suppress SHLIB_FLAGS = -shared STRIP_FLAGS = -S LIBEXT = .so EXEEXT = DESTDIR= but if I changed SHLIB_SUFFIX = .dylib to .so it wouldn't make and gave me: g++ -g -O2 -fPIC -I../unix/../include -I../unix/../src -I. -o dump \ ../unix/../demos/dump.cpp libmk4.so -lpthread /usr/bin/ld: libmk4.so is input for the dynamic link editor, is not relocatable by the static link editor again collect2: ld returned 1 exit status make: *** [dump] Error 1 so I left SHLIB_SUFFIX = .dylib alone and renamed /usr/local/lib libmk4.dylib to libmk4.so this a bad idea/problem? Gourmet built, but gives me the following from the terminal: $ gourmet Loading gnomeprint failed: trying wx gnome print is installed on my system via fink importing wxprinter No gnome player No windows player Player is gourmet.sound.Player (gourmet:9082): libglade-WARNING **: unknown property `urgency_hint' for class `GtkDialog' (gourmet:9082): libglade-WARNING **: unknown property `urgency_hint' for class `GtkWindow' (gourmet:9082): libglade-WARNING **: unknown property `pack_direction' for class `GtkMenuBar' (gourmet:9082): libglade-WARNING **: unknown property `child_pack_direction' for class `GtkMenuBar' Not trying to update. We had an import error. Traceback (most recent call last): File "/sw/lib/python2.4/site-packages/gourmet/ GourmetRecipeManager.py", line 45, in check_for_data_to_import import legacy_db File "/sw/lib/python2.4/site-packages/gourmet/legacy_db/ __init__.py", line 6, in ? import db_085.rmetakit, db_09.rmetakit File "/sw/lib/python2.4/site-packages/gourmet/legacy_db/db_085/ rmetakit.py", line 1, in ? import metakit, re, pickle, string, os.path ImportError: No module named metakit Grabbing nutrition database! (gourmet:9082): libglade-WARNING **: unknown property `urgency_hint' for class `GtkDialog' (gourmet:9082): libglade-WARNING **: unknown property `urgency_hint' for class `GtkWindow' (gourmet:9082): libglade-WARNING **: unknown property `pack_direction' for class `GtkMenuBar' (gourmet:9082): libglade-WARNING **: unknown property `child_pack_direction' for class `GtkMenuBar' (gourmet:9082): GLib-GObject-WARNING **: instance of invalid non- instantiatable type `(null)' (gourmet:9082): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed sys:1: GtkWarning: gtk_accel_group_disconnect: assertion `GTK_IS_ACCEL_GROUP (accel_group)' failed Why can't it find metakit, because of the way I renamed it? Is that the cause of the other errors? I'm at a loss as to what to do next. Overall I'm learning a lot and look forward to try my hand at building a fink package when this runs. ------------------------------------------------------------------------- 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