1) hbcplr in "static"
I installed all the requirements (except ADS) and built the rpm.

I installed the "lib" and the "base" package. If I try to compile a
simple test program I get:
# hbmk2 test.prg -trace
hbmk2: Processing configuration: /usr/bin/hbmk.cfg
hbmk2: Harbour compiler command (embedded):
(/usr/bin/harbour) -n2 test.prg -i/usr/include/harbour
Harbour 2.0.1dev (Rev. 13448)
Copyright (c) 1999-2010, http://www.harbour-project.org/
Compiling 'test.prg'...
Lines 3, Functions/Procedures 1
Generating C source output to 'test.c'... Done.
hbmk2: C compiler command:
gcc -c -O3  -Wall -W -I/usr/include/harbour test.c /tmp/hbmk_hjiv64.c
hbmk2: Linker command:
gcc test.o hbmk_hjiv64.o   -Wl,--start-group -lhbcplr -lhbdebug
-lharbour  -Wl,--end-group -otest -L/usr/lib/harbour
/usr/lib/gcc/i586-suse-linux/4.4/../../../../i586-suse-linux/bin/ld:
cannot find -lhbcplr
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc test.o hbmk_hjiv64.o   -Wl,--start-group -lhbcplr -lhbdebug
-lharbour  -Wl,--end-group -otest -L/usr/lib/harbour


hbcplr is not present in /usr/lib/harbour... it is in the "static" package...

So I tried to compile -fullshared and -fixshared but I got the same error...


So I installed the "static" rpm and
hbmk2 test.prg
compiled...

I then tried to compile statically
hbmk2 test.prg -fullstatic
but I got
hbmk2 test.prg -fullstatic
hbmk2: Processing configuration: /usr/bin/hbmk.cfg
Harbour 2.0.1dev (Rev. 13448)
Copyright (c) 1999-2010, http://www.harbour-project.org/
Compiling 'test.prg'...
Lines 3, Functions/Procedures 1
Generating C source output to 'test.c'... Done.
/usr/lib/gcc/i586-suse-linux/4.4/../../../../i586-suse-linux/bin/ld:
cannot find -lpcre
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc test.o hbmk_q4tyoc.o   -Wl,--start-group -lhbextern -lhbdebug
-lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgttrm
-lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt
-lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lm -ldl
-lrt -lpcre -lz  -Wl,--end-group -static -otest -L/usr/lib/harbour


2) pcre
pcre.... during compilation I get:
! Component: 'pcre' found in /usr/include
and some lines later
! 'libpng' library skipped (unused)
! 'hbpcre' library skipped (unused)
! 'hbzlib' library skipped (unused)


can't understand what happens.... well, I have the .so shared
libraries installed and I probably don't have the static linkable ones
but pcre is included in source form.... should I force using the
internal pcre at compile time ????


3) harupdf
/harbour/contrib/hbhpdf/tests # hbmk2 harupdf.prg
hbmk2: Processing local make script: hbmk.hbm
hbmk2: Processing configuration: /usr/bin/hbmk.cfg
Harbour 2.0.1dev (Rev. 13448)
Copyright (c) 1999-2010, http://www.harbour-project.org/
Compiling 'harupdf.prg'...
Lines 2246, Functions/Procedures 18
Generating C source output to 'harupdf.c'... Done.
/usr/lib/gcc/i586-suse-linux/4.4/../../../../i586-suse-linux/bin/ld:
cannot find -lhbhpdf
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc harupdf.o hbmk_prio4e.o   -Wl,--start-group -lhbhpdf -llibhpdf
-lpng -lhbct -lhbcplr -lhbdebug -lharbour  -Wl,--end-group -oharupdf
-L/usr/lib/harbour


It should default to local copy... but library is not compiled....


Ciao,
Francesco
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to