On Dec 10, 7:28 am, Alain Aupeix <
alain.aup...@wanadoo.fr> wrote:
> romulo a écrit :Thanks Alain! I tried your tip without success on building HBIDE. Then, I downloaded a new nightly version - 2.1.0beta2 (Rev. 15922) and removed all the old folders to start from scratch. The installation process did almost everything well...Except on building HBIDE.
Are you sure that all the make command is well (especially contrib
parts)
Yep, I'm sure... look at the build process log:
! Building Harbour 2.1.0beta3 from source -
http://harbour-project.org
! MAKE: make 3.81 /bin/sh
! HB_BUILD_SHARED: no
! HB_HOST_PLAT: linux (x86) HB_SHELL: sh
! LD_LIBRARY_PATH: /home/romulo/src/harbour/lib/linux/gcc:
! HB_PLATFORM: linux (x86) (autodetected)
! HB_COMPILER: gcc (autodetected: /usr/bin/)
! HB_HOST_PKGM: deb
! Component: 'zlib' found in /usr/include
! Component: 'pcre' found in /usr/include
! Component: 'gpm' found in /usr/include
! Component: 'slang' found in /usr/include
! Component: 'curses' found in /usr/include
! Component: 'x11' found in /usr/include
! Component: 'wattcp/watt-32' not supported on linux platform
! HB_INSTALL_PREFIX automatically set to: /usr/local
! REVISION: 15936
...
../bin/linux/gcc/hbrun --hb:gtcgi ../contrib/make.hbs first
! HB_BUILD_CONTRIBS: no hbwin sddoci rddads
See in the enviroment var (HB_BUILD_CONTRIBS) I'm excluding three
packages (hbwin, sddoci and rddads), but the build process tries to
build hbwin pkg, see below!
! Started package build...
! Calculating build order for 52 projects...
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbqt/qtcore/hbqtcore.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbqt/qtnetwork/hbqtnetwork.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbqt/qtgui/hbqtgui.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbmzip/3rd/minizip/minizip.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbqt/qtwebkit/hbqtwebkit.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbqt/qtuitools/hbqtuitools.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbqt/qtdesigner/hbqtdesigner.hbp @hbpost
=========
This could be a bug on the pkg build process...
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbwin/hbwin.hbp @hbpost
! 'hbwin/hbwin.hbp' returned status: 50
=========
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbtip/hbtip.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbct/hbct.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc rddsql/rddsql.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbmzip/hbmzip.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbssl/hbssl.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbnetio/hbnetio.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hblzf/3rd/liblzf/lzf.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbxbp/hbxbp.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbhpdf/3rd/libhpdf/libhpdf.hbp @hbpost
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfanno.c: In function
‘HPDF_TextAnnot_SetIcon’:
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfanno.c:556: warning:
comparison of unsigned expression < 0 is always false
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfdoc.c: In function
‘HPDF_SetPageLayout’:
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfdoc.c:1782: warning:
comparison of unsigned expression < 0 is always false
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfdoc.c: In function
‘HPDF_SetPageMode’:
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfdoc.c:1816: warning:
comparison of unsigned expression < 0 is always false
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfdoc.c: In function
‘HPDF_AddPageLabel’:
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfdoc.c:1903: warning:
comparison of unsigned expression < 0 is always false
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdffdft.c: In function
‘HPDF_TTFontDef_SaveFontData’:
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdffdft.c:1958: warning:
‘check_sum_ptr’ may be used uninitialized in this function
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfimap.c: In function
‘ReadTransparentPaletteData’:
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfimap.c:195: warning:
comparison of unsigned expression >= 0 is always true
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfimap.c: In function
‘ReadTransparentPngData’:
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfimap.c:257: warning:
comparison of unsigned expression >= 0 is always true
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfimap.c: In function
‘CreatePallet’:
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfimap.c:344: warning:
comparison between signed and unsigned integer expressions
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfpago.c: In function
‘HPDF_Page_SetLineCap’:
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfpago.c:97: warning:
comparison of unsigned expression < 0 is always false
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfpago.c: In function
‘HPDF_Page_SetLineJoin’:
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfpago.c:130: warning:
comparison of unsigned expression < 0 is always false
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfpago.c: In function
‘HPDF_Page_SetTextRenderingMode’:
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfpago.c:1209: warning:
comparison of unsigned expression < 0 is always false
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfpags.c: In function
‘HPDF_Page_SetSize’:
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfpags.c:1359: warning:
comparison of unsigned expression < 0 is always false
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfstre.c: In function
‘HPDF_Stream_WriteEscapeText2’:
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfstre.c:437: warning:
comparison between signed and unsigned integer expressions
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfstre.c: In function
‘HPDF_MemStream_SeekFunc’:
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfstre.c:1091: warning:
comparison between signed and unsigned integer expressions
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfstri.c: In function
‘HPDF_String_Write’:
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfstri.c:148: warning:
comparison between signed and unsigned integer expressions
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfu3d.c: In function
‘HPDF_U3D_LoadU3D’:
../../../../../contrib/hbhpdf/3rd/libhpdf/hpdfu3d.c:136: warning:
‘type’ may be used uninitialized in this function
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc xhb/xhb.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc sddsqlt3/sddsqlt3.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc sddpg/sddpg.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc sddodbc/sddodbc.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc sddmy/sddmy.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc sddfb/sddfb.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc rddbm/rddbm.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbziparc/hbziparc.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbzebra/hbzebra.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbxpp/hbxpp.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbtpathy/hbtpathy.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbtip/hbtipssl.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbsqlit3/hbsqlit3.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbsms/hbsms.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbqt/hbqt_all.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbposix/hbposix.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbpgsql/hbpgsql.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbodbc/hbodbc.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbnf/hbnf.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbnetio/utils/hbnetio.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbmysql/hbmysql.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbmisc/hbmisc.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbmemio/hbmemio.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbmagic/hbmagic.hbp @hbpost
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hblzf/hblzf.hbp @hbpost
../../../../../contrib/hblzf/hblzf.c: In function
‘HB_FUN_HB_LZF_COMPRESSBOUND’:
../../../../../contrib/hblzf/hblzf.c:91: warning: signed and unsigned
type in conditional expression
../../../../../contrib/hblzf/hblzf.c: In function
‘HB_FUN_LZF_COMPRESS’:
../../../../../contrib/hblzf/hblzf.c:126: warning: signed and unsigned
type in conditional expression
/home/romulo/src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -
width=0 @hbpre -inc hbide/hbide.hbp @hbpost
As you can see despite some compilation warnings, all the contribs
above were built with success, but I still didn't get success on build
HbIDE...
hbmk2: plugin: Error: Intermediate file (/tmp/NyiLUv) is not an .uic
file.
Cannot open ../bin/linux/gcc/.hbmk/hbide/uic_docviewgenerator.prg,
assumed external
No code generated.
hbmk2: Error: Running Harbour compiler (embedded). 1
! 'hbide/hbide.hbp' returned status: 6
! Finished package build...
make[1]: [first] Error 6 (ignored)
./bin/linux/gcc/hbrun --hb:gtcgi ./config/postinst.hbs first
I tried to search for this missing file (uic_docviewgenerator.prg),
applying a recursive search from the entire harbour dir, but it
doesn't exist. Seems that it is automatically generated at build time
from that intermediate file that the hbmk2 plugin doesn't recognize as
an .uic file. I don't really know what is going on.
> Try this shell:
> -----------------------------------------------------------------------------------------------
> #!/bin/bash
> # set the folder to your own
> cd /opt/Pr*/harbour
> clear
> echo Installing harbour
> # set the folder to your own
> make 1>"/opt/Program Files/hbmake.log" 2>>"/opt/Program Files/hbmake.log"
> # set the folder to your own
> # commented to make easiest search in log. When ok, uncomment next line to complite install
> # sudo make install 1>>"/opt/Program Files/hbmake.log" 2>>"/opt/Program Files/hbmake.log"
> echo
> echo Harbour installed
> echo
> # set the folder to your own
> gedit "/opt/Program Files/hbmake.log"
> -----------------------------------------------------------------------------------------------
> The contrib part is located at the end of the log :
> For me (under ubuntu 10.04, I don't remember under 10.10), I have this, which is equivalent to say that the job hadn't been done:
Yeah, but this isn't that is happening here... This way, at least I
know why the issue...
> ! 'xhb/xhb.hbp'returned status: 1! Finished package build and install...
> make[1]: [install] Erreur 1 (ignorée)
> ./bin/linux/gcc/hbrun --hb:gtcgi ./config/postinst.hbs install
> ------------------------------------------------------------------------------------------------
> I saw that all others contribs were created. So I still get the > following issue when I try to make HBIDE by myself with
> command: $ sudo hbmk2 hbide.hbp Its first output message:
> => hbmk2: plugin: Error: Intermediate file (/tmp/pVx4jm) is not an .uic file.
> Have you rights on the folder where you put harbour folders ?
Yep!
> I suppose that you don't launch it in sudo mode, and you're right, but if your rights aren't ok, you perhaps can't create the tmp folder.
> Try in sudo mode to see if it's better, just to test folder rights.And then I get: => Cannot open .hbmk/linux/gcc/uic_docviewgenerator.prg, assumed external
I already tried to built it in sudo mode...
> I suppose the file is here. Try to open it with gedit. I'll
> perhaps have have an error when opening. In this case change
> the pagecode to ISOxxxx-1 (I don't remember this exact value). > Close it, and try again.
No, this file (uic_docviewgenerator.prg) doesn't exists...
> Not sure
> A+
Again, thank you a lot in taking time to give some help.
Does this bug did not occur with other users? If you or someone else
has any suggestions will be welcome.
Thanks,
Romulo