On Wed, 02 Sep 2009, Tamas TEVESZ wrote:

Hi,

> thanks, i got further with this. now it's external/libhpdf:
> make[3]: `../../../../../lib/sunos/sunpro/libhbxbp.a' is up to date.
> ! Installing xbp.ch on /tmp/hb/include
> ! Installing xbpdev.ch on /tmp/hb/include
> ! Installing appevent.ch on /tmp/hb/include
> ! Installing gra.ch on /tmp/hb/include
> ! Installing ../../lib/sunos/sunpro/libhbxbp.a on /tmp/hb/lib
> make[3]: `../../../../../lib/sunos/sunpro/liblibhpdf.a' is up to date.
> /bin/sh: syntax error at line 1: `;' unexpected
> make[2]: *** [install] Error 2
> make[1]: *** [libhpdf.inst] Error 2
> make: *** [external.inst] Error 2

Yet another:
      include $(TOP)$(ROOT)config/header.mk
without any header files.
Maybe instead of removing this line I'll simply fix the
detection for empty INSTALL_FILES?

   ifneq ($(INSTALL_FILES),) # Empty install list

in instsh.mk does not work for INSTALL_FILES defined in
header.mk because this line:
   INSTALL_FILES := $(C_HEADERS) $(PRG_HEADERS) $(API_HEADERS)
assign to INSTALL_FILES string with two spaces and it's not empty
value for GNU make and later your SHELL reports problems errors.
I'll commit fix in a while.

> this actually has been bugging me for a while - it seems that much    
> (all, perhaps) other extensions are installed so that in lib<foo>.a   
> there's both the glue code object to the original library (or the 
> object implementing the complete functionality) and the harbour 
> bridge. in case of hpdf, what gets installed is a libhbpdf.a (which is 
> the hb bridge), and a liblibhpdf.a (which is libharu itself). is that 
> supposed to be so? even if so, "liblib" seems somewhat unintentional..

IMHO it's typo. Both libhpdf and libpng should be renamed to hpdf and png.
Anyhow I would like to leave this modification to Viktor. He should be
back in next week.
AFAIK both are standard libraries for OS which do not support them so
in most of *nixes they are less usable. I used to set:
   export HB_EXTERNALLIBS=no
to disable external module compilation.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to