Le 27/10/2012 14:58, Maurice Lombardi a écrit :
Le 25/10/2012 20:20, Schindler Karl-Michael a écrit :
****** The linker does not find the X11 libraries
please check that in makedefs.grx, in the X11 specific section, you have replaced X11BASE=/usr/X11R6 by X11BASE=/usr
try to replace this by
--- snip ---
this is taken from the makefile of the rts of gpc, which builds the dynamic libgpc, and build-gpc.command in the gpc346u2-sources on the microbizz site.
the previous won't work for install/uninstall
try instead
$ diff grx249.orig/src/makefile.x11 grx249.macosx/src/makefile.osx 42,44c42,44 < GRX20SH = ../lib/$(GRX_LIB_SUBDIR)/libgrx20X.so < GRX20SHli = $(GRX20SH).$(word 1,$(subst ., ,$(GRX_VERSION))) < GRX20SHna = $(GRX20SH).$(GRX_VERSION) ---
GRX20SH = ../lib/$(GRX_LIB_SUBDIR)/libgrx20X GRX20SHli = $(GRX20SH).$(word 1,$(subst ., ,$(GRX_VERSION))).dylib GRX20SHna = $(GRX20SH).$(GRX_VERSION).dylib
146c146 < $(CC) $(LDOPT) -shared -Wl,-soname,$(notdir $(GRX20SHli)) -o $(GRX20SHna) $(LO) ---
$(CC) $(LDOPT) -dynamiclib -dylib_install_name,$(notdir
$(GRX20SHna)) -o $(GRX20SHna) $(LO) 185c185 < ln -sf $(notdir $(GRX20SHli)) $(DESTDIR)$(libdir)/$(notdir $(GRX20SH)) ---
ln -sf $(notdir $(GRX20SHli)) $(DESTDIR)$(libdir)/$(notdir
$(GRX20SH).dylib) 202c202 < rm -f $(DESTDIR)$(libdir)/$(notdir $(GRX20SH)) ---
rm -f $(DESTDIR)$(libdir)/$(notdir $(GRX20SH).dylib)
May be you will have to replace -dylib_install_name by -dylinker_install_name (I find only the second in the gcc.html help file)
in linux GRX20SHli is libgrx20X.so.2 GRX20SHna is libgrx20X.so.2.4.9
here you should find in the directory grx249/lib/unix libgrx20X.2.4.9.dylib libgrx20X.2.dylib (symlink to the previous) and after install into /usr/lib the same two plus an additional symlink to the previous libgrx20X.dylib which is referred to in the user programs
Maurice