On Mon, 23 Feb 2009, Guy Roussin wrote: Hi,
> I think there is a typo : > $ echo "? 'hello'" > tst.prg > $ hbmk2 tst > Harbour 1.1.0dev (Rev. 10412) > Copyright (c) 1999-2009, http://www.harbour-project.org/ > Compiling 'tst.prg'... > Lines 1, Functions/Procedures 1 > Generating C source output to 'tst.c'... Done. > gcc: usr/lib/harbour/libharbour.so: Aucun fichier ou répertoire de ce type > hbmk: Error: Running C compiler. 256: 'gcc tst.c -O3 -otst > -I/usr/bin/../include/harbour -L/usr/bin/../lib/harbour -L/usr/X11R6/lib > -Wl,--start-group usr/lib/harbour/libharbour.so -lhbcplr -lhbdebug -lm -ldl > -lrt -lncurses -lX11 -Wl,--end-group' I guess you are talking about missing / but also passing the full path with shared library name is not good idea because it's stored inside final binaries so the destination host will have to handle it in exactly the same way. -L/usr/lib/harbour is enough to create final binaries. A small function like hb_dirStrip() which will convert path like "/usr/bin/../include/harbour" to "/usr/include/harbour" will also make the whole configuration much more readable for users. best regards, Przemek _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
