Andrew Hartung wrote:
[]
> 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:

The "-o $@" defines the output file for the linker as 
Mk4py$(BUNDLE_SUFFIX), which is what you definitely need here. If it 
complains about -o, this means that the preceding $(BUNDLE_LD) is not 
right, probably empty, judging from the further output:

> 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

This shows that both $(BUNDLE_SUFFIX) and $(BUNDLE_LD) are empty at this 
point. Look further up in your Makefile how these variables are defined.
If they don't appear at all, this means they were not transmitted from 
../unix/configure.in to Makefile. You need to mention them at two 
places: in the AC_SUBST() list in ../unix/configure.in, and in 
../unix/Makefile.in. Look at lines
  AC_SUBST(SHLIB_LD)
and
  SHLIB_LD = @SHLIB_LD@
and imitate this for your new variables.

-- 
Martin


-- 
Martin



-------------------------------------------------------------------------
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