On Aug 6, 2006, at 2:41 PM, Martin Costabel wrote:

> Andrew Hartung wrote:
> []
>> I did this and in the generated make file all instances of Mk4py$  
>> (LIBEXT) are Mk4py$(BUNDLE_SUFFIX) except
>> Mk4py$(LIB_SUFFIX): $(PYOBJS) $(LOBJS)
>>      ar cru $@ $(PYOBJS) $(LOBJS)
>>      ranlib $@
>> which you said not to touch. Still the same errors after  
>> rebuilding  and running gourmet.
>
> What does it install into /sw/lib/python2.4/site-packages/ (or .../ 
> python2.3/..., depending on which python you chose)? Does it put  
> Mk4py.so and metakit.py there? And does gourmet use the same python?

It doesn't look like it is installing anything in /sw/lib/python2.4/ 
site-packages/.(or 2.3)

make install gives:

mkdir -p /usr/local/include /usr/local/lib
/sw/bin/ginstall -c -m 644 ../unix/../include/mk4.h \
                 ../unix/../include/mk4.inl \
                 ../unix/../include/mk4str.h \
                 ../unix/../include/mk4str.inl /usr/local/include
/sw/bin/ginstall -c libmk4.dylib /usr/local/lib
if [ '.dylib' = '.a' ]; then ranlib /usr/local/lib/libmk4.a; fi

if that is any clue.

BTW: how do I set fink's python 2.4 to be the system default python?  
An alias to /sw/bin/python2.4?


....

after some more work:

I found this in the readme

To build the Mk4py extension on Unix, change the configure to:
         % ../unix/configure --with-python=<dir-where-include/-is>
     E.g.
         % ../unix/configure --with-tcl=/usr/include --with-python=/usr


so I built with:

../unix/configure --with-python=/sw

it complained about the -o option here:

Mk4py$(BUNDLE_SUFFIX): $(PYOBJS) $(LOBJS) $(LINK_SPECIAL_FILES)
        $(BUNDLE_LD) -o $@ $(PYOBJS) $(LOBJS) $(LINK_SPECIAL_FLAGS)

so I removed the '-o'. Now make gives the error:

g++ -c -g -O2  -fPIC -I../unix/../include -I../unix/../python/scxx -I/ 
sw/include/python2.4 ../unix/../python/PyProperty.cpp
g++ -c -g -O2  -fPIC -I../unix/../include -I../unix/../python/scxx -I/ 
sw/include/python2.4 ../unix/../python/PyRowRef.cpp
g++ -c -g -O2  -fPIC -I../unix/../include -I../unix/../python/scxx -I/ 
sw/include/python2.4 ../unix/../python/PyStorage.cpp
g++ -c -g -O2  -fPIC -I../unix/../include -I../unix/../python/scxx -I/ 
sw/include/python2.4 ../unix/../python/PyView.cpp
g++ -c -g -O2  -fPIC -I../unix/../include -I../unix/../python/scxx -I/ 
sw/include/python2.4 ../unix/../python/scxx/PWOImp.cpp
Mk4py PyProperty.o PyRowRef.o PyStorage.o PyView.o PWOImp.o column.o  
custom.o derived.o fileio.o field.o format.o handler.o persist.o  
remap.o std.o store.o string.o table.o univ.o view.o viewx.o -lpthread
make: Mk4py: Command not found
make: *** [Mk4py] Error 127


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to