Hi Guy, Examining the code I cannot find what could go wrong, there is line #1009 in hbmk2.prg which tries to detect this exact directory layout, by checking existence of file '/usr/local/include/harbour/hbvm.h'
Could you check if the file is there? If it is, maybe the check is wrong, in this case I'd like to ask you to do a little tracing around that point to print the filename in line #1009. Maybe it's wrong. Brgds, Viktor On Fri, Jun 12, 2009 at 9:39 AM, Guy Roussin<guy.rous...@teledetection.fr> wrote: > Hi Viktor, > > hbmk2 work fine when i create debian harbour package. > > But if i build/install harbour with : > > export HB_INSTALL_PREFIX=/usr/local > ./make_gnu.sh install > > I get this : > > $ which hbmk2 > /usr/local/bin/hbmk2 > > $ hbmk2 hello > hbmk: Processing configuration: /usr/local/bin/hbmk.cfg > Harbour 2.0.0beta1 (Rev. 11303) > Copyright (c) 1999-2009, http://www.harbour-project.org/ > Compiling 'hello.prg'... > Lines 11, Functions/Procedures 1 > Generating C source output to 'hello.c'... Done. > hello.c:7:21: error: hbvmpub.h: Aucun fichier ou dossier de ce type > hello.c:8:20: error: hbinit.h: Aucun fichier ou dossier de ce type > hello.c:11: warning: data definition has no type or storage class > hello.c:11: warning: parameter names (without types) in function declaration > hello.c:12: warning: data definition has no type or storage class > hello.c:12: warning: parameter names (without types) in function declaration > hello.c: In function ‘HB_INIT_SYMBOLS_BEGIN’: > (...) > > $ hbmk2 -traceonly hello > hbmk: Processing configuration: /usr/local/bin/hbmk.cfg > hbmk: Harbour compiler command (internal): > /usr/local/bin/harbour -n2 hello -i/usr/local/include > hbmk: C compiler command: > gcc -c -O3 -I/usr/local/include hello.c > hbmk: Linker command: > gcc hello.o -Wl,--start-group -lharbour -lhbcplr -lhbdebug -Wl,--end-group > -ohello -L/usr/local/lib > > note that include files are in /usr/local/include/harbour > and lib files in /usr/local/lib/harbour > > Thank you, > > -- > Guy > > _______________________________________________ > Harbour mailing list > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour