Make issue on Ubuntu 10.10 (Maverick Meerkat)

129 views
Skip to first unread message

romulo

unread,
Nov 6, 2010, 3:23:08 PM11/6/10
to Harbour Users
Hi all,

I tried to build Harbour on Ubuntu 10.10 (Maverick Meerkat) with QT4
already installed.

So, I downloaded Harbour source and after some INSTALL reading I issue
the following commands in terminal:

1) make clean
2) make

And then I got the following issue (make output):

! Started package build...
! Calculating build order for 50 projects...
...
... < after a lot of projects compiled ok >

/../../src/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -width=0
@hbpre -inc hbide/hbide.hbp @hbpost
hbmk2: plugin: Error: Intermediate file (/tmp/BCi00Z) 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

Does anybody know how to fix this ?

Am I doing something wrong?

Thanks in advance for any help.

Bruno Luciani

unread,
Nov 6, 2010, 3:56:26 PM11/6/10
to harbou...@googlegroups.com
Romulo , wich version of QT have Ubuntu 10.10 ?

Thanks

Bruno

2010/11/6 romulo <romulo.al...@gmail.com>

--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users

romulo

unread,
Nov 6, 2010, 4:49:04 PM11/6/10
to Harbour Users
Bruno,

Its a QT version 4.7.0.

Tks,

Romulo

On Nov 6, 5:56 pm, Bruno Luciani <bruno.luci...@gmail.com> wrote:
> Romulo , wich version of QT have Ubuntu 10.10 ?
>
> Thanks
>
> Bruno
>
> 2010/11/6 romulo <romulo.albuquer...@gmail.com>
> > Unsubscribe: harbour-user...@googlegroups.com<harbour-users%2Bunsubscribe@goog legroups.com>
> > Web:http://groups.google.com/group/harbour-users

Alain Aupeix

unread,
Nov 6, 2010, 5:38:32 PM11/6/10
to harbou...@googlegroups.com
romulo a écrit :
Bruno,

Its a QT version 4.7.0.

Tks,

Romulo

On Nov 6, 5:56 pm, Bruno Luciani <bruno.luci...@gmail.com> wrote:
  
Romulo , wich version of QT have Ubuntu 10.10 ?
    
10.04 has all qt4 paquets 4.6.2, and python-qt4  4.7.2 (I have made an update today), and it works.

I'll try Monday or tuesday with 10.10

A+

Bruno Luciani

unread,
Nov 6, 2010, 7:10:55 PM11/6/10
to harbou...@googlegroups.com
I don't understand you Alain

How you update to 4.7.2 in ubuntu 10.04 ?

BRUNO

2010/11/6 Alain Aupeix <alain....@wanadoo.fr>

Alain Aupeix

unread,
Nov 7, 2010, 3:50:51 AM11/7/10
to harbou...@googlegroups.com
Bruno Luciani a écrit :
I don't understand you Alain

How you update to 4.7.2 in ubuntu 10.04 ?

BRUNO
When making purposed updates, I have seen something about qt4 (yesterday morning)
Yesterday evening, seing the post, I had a look to Synaptics manager, and I saw that the qt4 version was 4.6.2, but I also saw, and that's what I mentionned, that a paquet qt4-python was 4.7.2, and I suppose it had been replaced during an update.

I don't think it's important for the problem we're talking about, and I'll have a look under 10.10, monday or tuesday

A+

Bruno Luciani

unread,
Nov 7, 2010, 10:55:42 AM11/7/10
to harbou...@googlegroups.com
OK I understand now

Thanks

Bruno

2010/11/7 Alain Aupeix <alain....@wanadoo.fr>

Alain AUPEIX

unread,
Nov 8, 2010, 7:40:36 AM11/8/10
to harbou...@googlegroups.com
Hi all,

I have test harbour on 10.10 amd64.
I have had some problems, but I can now use it.

Here is how I install it:

1) since harbour folder (unpacked nightly)

sudo make

It seems, but I probably miss something when reading the terminal, that
it was ok, but when trying to compile test, hbmk2 isn't hound
I search for it and saw it was installed in /usr/local/bin (the same
folder as under 10.04)
I launch /usr/local/bin/hbmk2 tests.prg
Now it doesn't find h files.
Looking to /usr/local/include, there is no harbour folder.
I copy include folder (from unpacked folder) in /usr/local/include and
obviously rename include to harbour
Now, it compiles, but link fails, doesn't find libharbour
I tried sudo make clean install, and it seems now to be ok
But it always fails with libs
I add links in /usr/local/lib of libs libharbour-2.1.0.lib and
libharbourmt-2.1.0.lib
Same result, but I notice that hbmk2 works without path (I don't know
exactly what set it to work)
I compile test.prg, but fails when running (don't find libraries)
I copy the two links, and remove the version in the link name
(libharbour.lib and libharbourmt.lib
and now it works.

I can't explain why it fails to create harbour folder un
/usr/local/include, and also why it failed to create links in
/usr/local/lib, but it seems to be the reason of the problem.

So, romolo,to test it, try this from within harbour folder

sudo mkdir /usr/local/include/harbour
sudo cp include/* /usr/local/include/harbour
sudo ln /usr/local/lib/harbour/libharbour-2.1.0.lib
/usr/local/lib/libharbour-2.1.0.lib
sudo ln /usr/local/lib/harbour/libharbourmt-2.1.0.lib
/usr/local/lib/libharbour-2.1.0.lib
sudo ln /usr/local/lib/harbour/libharbour-2.1.0.lib
/usr/local/lib/libharbour.lib
sudo ln /usr/local/lib/harbour/libharbourmt-2.1.0.lib
/usr/local/lib/libharbour.lib
sudo make clean install

and tests then to compile a test (hello or test)

A+


Alain Aupeix

unread,
Nov 9, 2010, 3:41:53 PM11/9/10
to harbou...@googlegroups.com
Alain AUPEIX a écrit :

Hi all,

I have always some problems under Ubuntu 10.10. If a single prg file compiles ok, when source have some C++ files, hbmk2 fails, and I have this error:

...
Compiling '../.hbmk/linux/gcc/hbqtnetwork/TQNetworkRequest.prg'...
Lines 5692, Functions/Procedures 14
Generating C source output to '../.hbmk/linux/gcc/hbqtnetwork/TQNetworkRequest.c'... Done.
hbmk2: Compiling...
hbmk2: Compiling C++...
hbmk2: Error: Running C/C++ compiler. 1
g++ -c -O3  -DHBMK_HAS_QT -W -Wall -pipe -I'/usr/local/include/harbour' -I'../../../..' -I'../../../../qtnetwork' -I'../../../../qtcore' -I'/usr/include/qt4' '../../../../qtnetwork/hbqt_init.cpp' '../../../../.hbmk/linux/gcc/hbqtnetwork/QFtp.cpp' '../../../../.hbmk/linux/gcc/hbqtnetwork/QHttp.cpp' '../../../../.hbmk/linux/gcc/hbqtnetwork/QHttpHeader.cpp' '../../../../.hbmk/linux/gcc/hbqtnetwork/QHttpRequestHeader.cpp' '../../../../.hbmk/linux/gcc/hbqtnetwork/QHttpResponseHeader.cpp' '../../../../.hbmk/linux/gcc/hbqtnetwork/QNetworkRequest.cpp'


When trying to compile hbide, here are the errors:

hbmk2: Linking... hbide
/usr/bin/ld: cannot find -lhbxbp
/usr/bin/ld: cannot find -lsupc++
/usr/bin/ld: cannot find -lhbqtcore
/usr/bin/ld: cannot find -lhbqtgui
/usr/bin/ld: cannot find -lhbqtnetwork
/usr/bin/ld: cannot find -lhbqtuitools
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc '.hbmk/linux/gcc/idemain.o' '.hbmk/linux/gcc/ideobject.o' '.hbmk/linux/gcc/i


Couldn't have a relation between libsupc++

On 10.04 I found it in /usr/lib/gcc/x86_64-linux-gnu/4.4
On 10.10, I haven't tried to fing it, but I suppose it's missing

If somebody have an idea ...

A+

vszakats

unread,
Nov 9, 2010, 5:33:00 PM11/9/10
to Harbour Users
Hi,

> I have always some problems under Ubuntu 10.10. If a single prg file compiles ok, when source have some C++ files, hbmk2 fails, and I have this error:...
> Compiling '../.hbmk/linux/gcc/hbqtnetwork/TQNetworkRequest.prg'...
> Lines 5692, Functions/Procedures 14
> Generating C source output to '../.hbmk/linux/gcc/hbqtnetwork/TQNetworkRequest.c'... Done.
> hbmk2: Compiling...
> hbmk2: Compiling C++...
> hbmk2: Error: Running C/C++ compiler. 1g++ -c -O3  -DHBMK_HAS_QT -W -Wall -pipe -I'/usr/local/include/harbour' -I'../../../..' -I'../../../../qtnetwork' -I'../../../../qtcore' -I'/usr/include/qt4' '../../../../qtnetwork/hbqt_init.cpp' '../../../../.hbmk/linux/gcc/hbqtnetwork/QFtp.cpp' '../../../../.hbmk/linux/gcc/hbqtnetwork/QHttp.cpp' '../../../../.hbmk/linux/gcc/hbqtnetwork/QHttpHeader.cpp' '../../../../.hbmk/linux/gcc/hbqtnetwork/QHttpRequestHeader.cpp' '../../../../.hbmk/linux/gcc/hbqtnetwork/QHttpResponseHeader.cpp' '../../../../.hbmk/linux/gcc/hbqtnetwork/QNetworkRequest.cpp'

That would be useful information if you had
included the error itself. Usually your environment
settings and beginning of log is also good to see.

This way one can only guess.

> When trying to compile hbide, here are the errors:hbmk2: Linking... hbide
> /usr/bin/ld: cannot find -lhbxbp
> /usr/bin/ld: cannot find -lsupc++/usr/bin/ld: cannot find -lhbqtcore
> /usr/bin/ld: cannot find -lhbqtgui
> /usr/bin/ld: cannot find -lhbqtnetwork
> /usr/bin/ld: cannot find -lhbqtuitools
> collect2: ld returned 1 exit status
> hbmk2: Error: Running linker. 1
> gcc '.hbmk/linux/gcc/idemain.o' '.hbmk/linux/gcc/ideobject.o' '.hbmk/linux/gcc/iCouldn't have a relation between libsupc++

Here you list the error, but not the failing command.

> On 10.04 I found it in /usr/lib/gcc/x86_64-linux-gnu/4.4
> On 10.10, I haven't tried to fing it, but I suppose it's missing

As general suggestion pls check component requirements
and INSTALL / TROUBLESHOOTING section. Always
start with clean fresh source tree.

Viktor

romulo

unread,
Dec 8, 2010, 4:03:18 PM12/8/10
to Harbour Users
Alain,

Thanks, "sudo" does the trick to install Harbour on Ubuntu 10.10.

Although HBIde installation failed. Then, after Harbour install I
tried to
build HBIDE issuing the following commands:
-----------------------> clean command issued
<-------------------------
/usr/local/src/harbour/contrib/hbide$ sudo hbrun ../make.hbs clean

-----------------------------> Output clean command started
<---------------------------------------
! Package clean... 1
project(s)
/usr/local/bin/hbmk2 -quiet -width=0 @../hbpre -inc -clean ../hbqt/
qtcore/hbqtcore.hbp @../hbpost
/usr/local/bin/hbmk2 -quiet -width=0 @../hbpre -inc -clean ../hbqt/
qtgui/hbqtgui.hbp @../hbpost
/usr/local/bin/hbmk2 -quiet -width=0 @../hbpre -inc -clean ../hbqt/
qtuitools/hbqtuitools.hbp @../hbpost
/usr/local/bin/hbmk2 -quiet -width=0 @../hbpre -inc -clean ../hbqt/
qtnetwork/hbqtnetwork.hbp @../hbpost
/usr/local/bin/hbmk2 -quiet -width=0 @../hbpre -inc ../hbxbp/hbxbp.hbp
@../hbpost
/usr/local/bin/hbmk2 -quiet -width=0 @../hbpre -inc -clean ../hbide/
hbide.hbp @../hbpost
---------------------------------> Output clean command Ended
<--------------------------------

-----------------------> install command issued
<-------------------------
/usr/local/src/harbour/contrib/hbide$ sudo hbrun ../make.hbs install

-----------------------------> Output install command started
<--------------------------------
! Package build... 1
project(s)
/usr/local/bin/hbmk2 -quiet -width=0 @../hbpre -inc ../hbqt/qtcore/
hbqtcore.hbp @../hbpost
/usr/local/bin/hbmk2 -quiet -width=0 @../hbpre -inc ../hbqt/qtgui/
hbqtgui.hbp @../hbpost
/usr/local/bin/hbmk2 -quiet -width=0 @../hbpre -inc ../hbqt/qtuitools/
hbqtuitools.hbp @../hbpost
/usr/local/bin/hbmk2 -quiet -width=0 @../hbpre -inc ../hbqt/qtnetwork/
hbqtnetwork.hbp @../hbpost
/usr/local/bin/hbmk2 -quiet -width=0 @../hbpre -inc ../hbxbp/hbxbp.hbp
@../hbpost
hbmk2: Target up to date: ../../lib/linux/gcc/libhbxbp.a
==> hbmk2: plugin: Error: Intermediate file (/tmp/6maGJf) is not
an .uic file./hbpost
==> Cannot open ../../bin/linux/gcc/.hbmk/hbide/
uic_docviewgenerator.prg, assumed external
==> hbmk2: Error: Running Harbour compiler (embedded). 1
No code generated.
! '../hbide/hbide.hbp' returned status: 6
---------------------------------> Output install command ended
<--------------------------------

----------------------> Environment settings <-------------------
- CPU Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz
- Memory 3.5GB
- Ubuntu 10.10
- Harbour 2.1.0beta2 (Rev. 15800)
- QT Version 4.7
-----------------------------------------------------------------

Does anybody have any tips?

Romulo.

On Nov 9, 6:41 pm, Alain Aupeix <alain.aup...@wanadoo.fr> wrote:
> Alain AUPEIX a écrit :
> Hi all,
> I have always some problems under Ubuntu 10.10. If a single prg file compiles ok, when source have some C++ files, hbmk2 fails, and I have this error:...
> Compiling '../.hbmk/linux/gcc/hbqtnetwork/TQNetworkRequest.prg'...
> Lines 5692, Functions/Procedures 14
> Generating C source output to '../.hbmk/linux/gcc/hbqtnetwork/TQNetworkRequest.c'... Done.
> hbmk2: Compiling...
> hbmk2: Compiling C++...
> hbmk2: Error: Running C/C++ compiler. 1g++ -c -O3  -DHBMK_HAS_QT -W -Wall -pipe -I'/usr/local/include/harbour' -I'../../../..' -I'../../../../qtnetwork' -I'../../../../qtcore' -I'/usr/include/qt4' '../../../../qtnetwork/hbqt_init.cpp' '../../../../.hbmk/linux/gcc/hbqtnetwork/QFtp.cpp' '../../../../.hbmk/linux/gcc/hbqtnetwork/QHttp.cpp' '../../../../.hbmk/linux/gcc/hbqtnetwork/QHttpHeader.cpp' '../../../../.hbmk/linux/gcc/hbqtnetwork/QHttpRequestHeader.cpp' '../../../../.hbmk/linux/gcc/hbqtnetwork/QHttpResponseHeader.cpp' '../../../../.hbmk/linux/gcc/hbqtnetwork/QNetworkRequest.cpp'
> When trying to compile hbide, here are the errors:hbmk2: Linking... hbide
> /usr/bin/ld: cannot find -lhbxbp
> /usr/bin/ld: cannot find -lsupc++/usr/bin/ld: cannot find -lhbqtcore
> /usr/bin/ld: cannot find -lhbqtgui
> /usr/bin/ld: cannot find -lhbqtnetwork
> /usr/bin/ld: cannot find -lhbqtuitools
> collect2: ld returned 1 exit status
> hbmk2: Error: Running linker. 1
> gcc '.hbmk/linux/gcc/idemain.o' '.hbmk/linux/gcc/ideobject.o' '.hbmk/linux/gcc/iCouldn't have a relation between libsupc++

Alain Aupeix

unread,
Dec 8, 2010, 4:58:54 PM12/8/10
to harbou...@googlegroups.com
romulo a écrit :
Alain,

Thanks, "sudo" does the trick to install Harbour on Ubuntu 10.10.

Although HBIde installation failed. Then, after Harbour install I
tried to
build HBIDE issuing the following commands:
  
....

Well, I have tried, as suggested to find why installs crashes under 10.10, and I remove all the folders where the previous install have created.

I change a bit the way I use to install, as it doesn't work as I expected.

make
sudo make install

and it seems to installs all the folder correctly
/usr/local/bin/harbour
/usr/local/include/harbour
/usr/local/lib/harbour, and the two links for harbour.so

but it fails to compile contribs.
As it looks like under 10.04, I'm about to try the shell I made to compile under 10.04.
I haven't tried to use it under 10.10, but I think it would work.

I extract harbour here :  /opt/Program Files
My shell is here: /opt/program Files

I give the infos just to explain you will have to replace my folders by yours

----------------------------------------------------------------------------------------------------------------------

#!/bin/bash

cd /opt/Pr*/harbour/contrib
clear
echo Compiling harbour contribs
echo Compiling harbour contribs > "/opt/Program Files/hbContrib.log"
echo .         3rd/sqlite3  
hbmk2 3rd/sqlite3/sqlite3.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         gtalleg
hbmk2 gtalleg/gtalleg.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbblink
hbmk2 hbblink/hbblink.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbbz2
hbmk2 hbbz2/hbbz2.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbcairo
hbmk2 hbcairo/hbcairo.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbclipsm
hbmk2 hbclipsm/hbclipsm.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbcomm
hbmk2 hbcomm/hbcomm.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbct
hbmk2 hbct/hbct.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbcups
hbmk2 hbcups/hbcups.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbcurl
hbmk2 hbcurl/hbcurl.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbexpat
hbmk2 hbexpat/hbexpat.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbfbird
hbmk2 hbfbird/hbfbird.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbfimage
hbmk2 hbfimage/hbfimage.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbfoxpro
hbmk2 hbfoxpro/hbfoxpro.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbfship
hbmk2 hbfship/hbfship.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbgd
hbmk2 hbgd/hbgd.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbgt
hbmk2 hbgt/hbgt.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbhpdf
hbmk2 hbhpdf/hbhpdf.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbhttpd
hbmk2 hbhpdf/hbhttpd.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbmagic
hbmk2 hbmisc/hbmagic.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbmemio
hbmk2 hbmemio/hbmemio.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbmisc
hbmk2 hbmisc/hbmisc.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbmysql
hbmk2 hbmysql/hbmysql.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         minizip
hbmk2 hbmzip/3rd/minizip/minizip.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbmzip
hbmk2 hbmzip/hbmzip.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbnetio
hbmk2 hbnetio/hbnetio.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         utils/hbnetio
hbmk2 hbnetio/utils/hbnetio.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbnf
hbmk2 hbnf/hbnf.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbodbc
hbmk2 hbodbc/hbodbc.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbpgsql
hbmk2 hbpgsql/hbpgsql.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbposix
hbmk2 hbposix/hbposix.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbqtcore
hbmk2 hbqt/qtcore/hbqtcore.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbqtdesigner
hbmk2 hbqt/qtdesigner/hbqtdesigner.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbqtgui
hbmk2 hbqt/qtgui/hbqtgui.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbqtnetwork
hbmk2 hbqt/qtnetwork/hbqtnetwork.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbqtuitools
hbmk2 hbqt/qtuitools/hbqtuitools.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbqtwebkit
hbmk2 hbqt/qtwebkit/hbqtwebkit.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbsms
hbmk2 hbsms/hbsms.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbsqlite3
hbmk2 hbsqlit3/hbsqlit3.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbssl
hbmk2 hbssl/hbssl.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbtip/hbtip
hbmk2 hbtip/hbtip.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbtip/hbtipssl
hbmk2 hbtip/hbtipssl.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbtpathy
hbmk2 hbtpathy/hbtpathy.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbxbp
hbmk2 hbxbp/hbxbp.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbxpp
hbmk2 hbxpp/hbxpp.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbzebra
hbmk2 hbzebra/hbzebra.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbziparc
hbmk2 hbziparc/hbziparc.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         rddbm
hbmk2 rddbm/rddbm.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         rddsql
hbmk2 rddsql/rddsql.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         sddmy
hbmk2 sddmy/sddmy.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         sddodbc
hbmk2 sddodbc/sddodbc.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         sddpg
hbmk2 sddpg/sddpg.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         sddsqlt3
hbmk2 sddsqlt3/sddsqlt3.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         frfuncts
hbmk2 /opt/TuxPrograms/FR_functs/hbfrfuncts.hbp 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .
sudo dir
echo .
echo Libraries and include files
echo .         3rd/sqlite3
sudo mv ./3rd/sqlite3/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         gtalleg
sudo mv ./gtalleg/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbblink
sudo mv ./hbblink/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbblink/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbbz2
sudo mv ./hbbz2/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbbz2/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbcairo
sudo mv ./hbcairo/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbcairo/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbclipsm
sudo mv ./hbclipsm/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbclipsm/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbcomm
sudo mv ./hbcomm/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbct
sudo mv ./hbct/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbct/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbcups
sudo mv ./hbcups/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbcurl
sudo mv ./hbcurl/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbcurl/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbexpat
sudo mv ./hbexpat/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbexpat/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbfbird
sudo mv ./hbfbird/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbfimage
sudo mv ./hbfimage/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbfimage/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbfoxpro
sudo mv ./hbfoxpro/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbfoxpro/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbfship
sudo mv ./hbfship/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbgd
sudo mv ./hbgd/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbgd/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbgt
sudo mv ./hbgt/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbhpdf
sudo mv ./hbhpdf/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbhpdf/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbhttpd
sudo mv ./hbhttpd/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbmagic
sudo mv ./hbmagic/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbmagic/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbmemio
sudo mv ./hbmemio/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbmisc
sudo mv ./hbmisc/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbmysql
sudo mv ./hbmysql/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbmysql/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         minizip
sudo mv ./hbmzip/3rd/minizip/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbmzip
sudo mv ./hbmzip/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbmzip/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbnetio
sudo mv ./hbnetio/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbnf
sudo mv ./hbnf/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbnf/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbodbc
sudo mv ./hbodbc/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbodbc/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbpgsql
sudo mv ./hbpgsql/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbpgsql/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbposix
sudo mv ./hbposix/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbqt
sudo mv ./hbqt/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbqt/qtcore
sudo cp ./hbqt/qtcore/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbqt/qtgui
sudo cp ./hbqt/qtgui/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbqt/qtwebkit
sudo cp ./hbqt/qtwebkit/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbsms
sudo mv ./hbsms/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbsqlit3
sudo mv ./hbsqlit3/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbsqlit3/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbssl
sudo mv ./hbssl/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbssl/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbtip
sudo mv ./hbtip/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbtip/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbtpathy
sudo mv ./hbtpathy/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbtpathy/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbxbp
sudo mv ./hbxbp/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbxbp/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbxpp
sudo mv ./hbxpp/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbxpp/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbzebra
sudo mv ./hbzebra/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./hbzebra/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         hbziparc
sudo mv ./hbziparc/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         rddbm
sudo mv ./rddbm/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         rddsql
sudo mv ./rddsql/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
sudo cp ./rddsql/*.ch /usr/local/include/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         sddmy
sudo mv ./sddmy/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         sddodbc
sudo mv ./sddodbc/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         sddpg
sudo mv ./sddpg/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         sddsqlt3
sudo mv ./sddsqlt3/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .         fr_functs
sudo mv /opt/TuxPrograms/FR_functs/*.a /usr/local/lib/harbour 1>>"/opt/Program Files/hbContrib.log"  2>>"/opt/Program Files/hbContrib.log"
echo .
echo Libraries have been moved ...
echo Include files have been copied ...
echo .

-------------------------------------------------------------------------------------------------------------------------------------------------
The first part of the shell compiles, the second installs libraries and include files

-I compile only the contribs which works under Linux
-I trace in logs, as the session isn't complete in console.
- You have just to adapt the folders to work with you install

If you crash compiling hbide, I suppose it's because you don't compile contribs before hbide.

Now when you'll have compile contribs, you'll be able to compile hbide

cd contrib/hbide
hbmk2 hbide.hbp
./hbide

It ought to work.

A+

romulo

unread,
Dec 9, 2010, 8:06:34 PM12/9/10
to Harbour Users
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.

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.

After this it continues compiling...

And then I get:
=> Cannot open .hbmk/linux/gcc/uic_docviewgenerator.prg, assumed
external

No code generated.
hbmk2: Error: Running Harbour compiler (embedded). 1


Any more ideas?

Thanks,

Romulo.

Alain Aupeix

unread,
Dec 10, 2010, 4:28:25 AM12/10/10
to harbou...@googlegroups.com
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)

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:

------------------------------------------------------------------------------------------------
! Started package build and install...
! Calculating build order for 54 projects...
! 'gtalleg/gtalleg.hbp' returned status: 1
! 'gtwvg/gtwvg.hbp' returned status: 1
! 'hbblat/hbblat.hbp' returned status: 1
! 'hbblink/hbblink.hbp' returned status: 1
! 'hbbz2/hbbz2.hbp' returned status: 1
! 'hbcairo/hbcairo.hbp' returned status: 1
! 'hbclipsm/hbclipsm.hbp' returned status: 1
! 'hbcomm/hbcomm.hbp' returned status: 1
! 'hbct/hbct.hbp' returned status: 1
! 'hbcups/hbcups.hbp' returned status: 1
! 'hbcurl/hbcurl.hbp' returned status: 1
! 'hbexpat/hbexpat.hbp' returned status: 1
! 'hbfbird/hbfbird.hbp' returned status: 1
! 'hbfimage/hbfimage.hbp' returned status: 1
! 'hbfoxpro/hbfoxpro.hbp' returned status: 1
! 'hbfship/hbfship.hbp' returned status: 1
! 'hbgd/hbgd.hbp' returned status: 1
! 'hbgt/hbgt.hbp' returned status: 1
! 'hbhpdf/hbhpdf.hbp' returned status: 1
! 'hbhttpd/hbhttpd.hbp' returned status: 1
! 'hbide/hbide.hbp' returned status: 1
! 'hbmagic/hbmagic.hbp' returned status: 1
! 'hbmemio/hbmemio.hbp' returned status: 1
! 'hbmisc/hbmisc.hbp' returned status: 1
! 'hbmysql/hbmysql.hbp' returned status: 1
! 'hbmzip/hbmzip.hbp' returned status: 1
! 'hbnetio/hbnetio.hbp' returned status: 1
! 'hbnetio/utils/hbnetio.hbp' returned status: 1
! 'hbnf/hbnf.hbp' returned status: 1
! 'hbodbc/hbodbc.hbp' returned status: 1
! 'hbpgsql/hbpgsql.hbp' returned status: 1
! 'hbposix/hbposix.hbp' returned status: 1
! 'hbqt/hbqt_all.hbp' returned status: 1
! 'hbsms/hbsms.hbp' returned status: 1
! 'hbsqlit3/hbsqlit3.hbp' returned status: 1
! 'hbssl/hbssl.hbp' returned status: 1
! 'hbtip/hbtip.hbp' returned status: 1
! 'hbtip/hbtipssl.hbp' returned status: 1
! 'hbtpathy/hbtpathy.hbp' returned status: 1
! 'hbwin/hbwin.hbp' returned status: 1
! 'hbxbp/hbxbp.hbp' returned status: 1
! 'hbxpp/hbxpp.hbp' returned status: 1
! 'hbzebra/hbzebra.hbp' returned status: 1
! 'hbziparc/hbziparc.hbp' returned status: 1
! 'rddads/rddads.hbp' returned status: 1
! 'rddbm/rddbm.hbp' returned status: 1
! 'rddsql/rddsql.hbp' returned status: 1
! 'sddfb/sddfb.hbp' returned status: 1
! 'sddmy/sddmy.hbp' returned status: 1
! 'sddoci/sddoci.hbp' returned status: 1
! 'sddodbc/sddodbc.hbp' returned status: 1
! 'sddpg/sddpg.hbp' returned status: 1
! 'sddsqlt3/sddsqlt3.hbp' returned status: 1
! 'xhb/xhb.hbp' returned status: 1
/opt/Program Files/harbour/contrib/../bin/linux/gcc/hbmk2 -quiet -width=0 @hbpre -inc xhb/xhb.hbp @hbpost
! '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 ?
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 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.

Not sure

A+

romulo

unread,
Dec 10, 2010, 3:34:36 PM12/10/10
to Harbour Users
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

Alain Aupeix

unread,
Dec 10, 2010, 5:04:07 PM12/10/10
to harbou...@googlegroups.com
romulo a �crit :

> Does this bug did not occur with other users? If you or someone else
> has any suggestions will be welcome.
>
> Thanks,
>
> Romulo
>
I must say that I haven't tried to compile hbide with Ubuntu 10.10, so
all my tests have been made under Ubuntu 10.04.

Other point do you use Ubuntu or Kubuntu ?
Don't know if it's important, but who knows.

A+

Romulo Albuquerque

unread,
Dec 10, 2010, 5:31:29 PM12/10/10
to harbou...@googlegroups.com
I'm using Ubuntu 10.10 MM!

On Fri, Dec 10, 2010 at 8:04 PM, Alain Aupeix <alain...@wanadoo.fr> wrote:
romulo a écrit :

Viktor Szakáts

unread,
Dec 10, 2010, 6:41:46 PM12/10/10
to Harbour Users
> 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!

It's not a bug in the build process. hbwin gets built because
you still build some components which depend on it. F.e. xhb lib.

Anyway it doesn't make any harm for you, as hbwin will automatically
be skipped at the right moment for any platform which doesn't support
it.

Viktor

romulo

unread,
Dec 10, 2010, 8:21:53 PM12/10/10
to Harbour Users
Viktor, thanks for the infos.

Yes, it doesn't made any harm. As I didn't really know these pkg
dependencies, I supposed it was an issue and I reported trying to help
improve the tool.

I knew that hbwin wasn't supported on linux, but I excluded it just to
avoid any warnings and errors messages on my build logs.

Since I'm trying to build HbIDE unsuccessfully, I tried several builds
from scratch to find the reason why HbIDE isn't built.

Do you have any idea that may help?

Romulo

Viktor Szakáts

unread,
Dec 11, 2010, 3:33:31 AM12/11/10
to Harbour Users
Hi,

> Since I'm trying to build HbIDE unsuccessfully, I tried several builds
> from scratch to find the reason why HbIDE isn't built.
>
> Do you have any idea that may help?

Nope sorry, I never experienced this problem and
don't have any idea why uic tool and/or handling
disk file fails in your case. I just added one more type
of error message when checking the .uic file, plus
QT 4.7.1 is supposed to introduce more error output
from uic tool itself, so it may lead closer to the problem,
without any effort on users' part.

Until then I can only repeat my previous suggestion
(completely ignored BTW) to try to debug this problem
by running the .ui -> .prg conversion manually to see
what exactly happens, or modify the QT hbmk2 plugin
to leave the problematic (.uic) file on disk and see in
what way its invalid. See my prev msg for some more
on this.

[ BTW INSTALL says to _not_ use spaces in path
names related to Harbour. This may be unrelated to
uic problem, nevertheless it caught my eye while
scanning this or other Linux build problem thread. ]

Viktor

romulo

unread,
Dec 11, 2010, 12:41:36 PM12/11/10
to Harbour Users
> [ BTW INSTALL says to _not_ use spaces in path
> names related to Harbour. This may be unrelated to
> uic problem, nevertheless it caught my eye while
> scanning this or other Linux build problem thread. ]

This isn't the real issue in my case, but after trying one
of your suggestions I discovered that the uic tool was
generating only the .uic file header below.

/*********************************************************
** Form generated from reading UI file 'docviewgenerator.ui'
**
** Created: Sat Dec 11 13:16:41 2010
** by: User Interface Compiler for Qt version 3.3.8b
**
** WARNING! All changes made in this file will be lost when
recompiling UI file!
*********************************************************/

So I could see that the uic tool was an earlier version (3.3.8b) that
the one I already had installed (4.7.0).
I had checked the Qt version through the Qt Designer application and
was sure that I was using only 4.7.0 version. But in reality Qt
components versions were mixed.

I uninstalled all the remaining Qt3 components and did
a manual conversion test like this: "uic docviewgenerator.ui | more"
and it generated an output apparently consistent.

After this, I rebuilt Harbour and HbIDE has been correctly generated.

As a suggestion, it would be helpful if the plugin did a validation of
the uic tool to check a version requirement for a specific platform or
something and / or display a message that it was using uic version
n.n.n.

Viktor, thank you very much!

Viktor Szakáts

unread,
Dec 11, 2010, 1:59:23 PM12/11/10
to Harbour Users
Hi Romulo,

> This isn't the real issue in my case, but after trying one
> of your suggestions I discovered that the uic tool was
> generating only the .uic file header below.
>
> /*********************************************************
> ** Form generated from reading UI file 'docviewgenerator.ui'
> **
> ** Created: Sat Dec 11 13:16:41 2010
> **      by: User Interface Compiler for Qt version 3.3.8b
> **
> ** WARNING! All changes made in this file will be lost when
> recompiling UI file!
> *********************************************************/
>
> So I could see that the uic tool was an earlier version (3.3.8b) that
> the one I already had installed (4.7.0).
> I had checked the Qt version through the Qt Designer application and
> was sure that I was using only 4.7.0 version. But in reality Qt
> components versions were mixed.
>
> I uninstalled all the remaining Qt3 components and did
> a manual conversion test like this: "uic docviewgenerator.ui | more"
> and it generated an output apparently consistent.
>
> After this, I rebuilt Harbour and HbIDE has been correctly generated.

Thank you for helping to get to the bottom of this.
This explains it perfectly.

> As a suggestion, it would be helpful if the plugin did a validation of
> the uic tool to check a version requirement for a specific platform or
> something and / or display a message that it was using uic version
> n.n.n.

Trying to validate all possible aspects of external components
would require considerable inside knowledge besides documented
information (f.e. in this case how would we know precisely which uic
version works with which QT version?). This is large and never
ending effort taking just as many resources on all levels. Also the
benefit is pretty small.

So, it's best to leave this to OS package maintainers and component
developers, and keep it out of Harbour build system.

Harbour does make sure that components are present and use
them as documented by given components' official guidelines, which
means we assume all components to be in a documented
and working state.

BTW in this case Harbour make system did signal the problem
with the message that the .uic was invalid, which it was.

> Viktor, thank you very much!

You're welcome!

Viktor

romulo

unread,
Dec 11, 2010, 4:50:06 PM12/11/10
to Harbour Users
Hi Viktor,

> Thank you for helping to get to the bottom of this.
> This explains it perfectly.

Well, I think that this way is a minimun that a GNU user tool must
act.

I have to thanks all Harbour developers for their efforts to
brilliantly expand beyond of the Clipper limitations and give a long
live for the language on several platforms!

> Trying to validate all possible aspects of external
components
> would require considerable inside knowledge besides documented
> information (f.e. in this case how would we know precisely which uic
> version works with which QT version?). This is large and
never
> ending effort taking just as many resources on all
> levels. Also the benefit is pretty small.

Seeing this way I totally agree with you.

On the other hand, I think it's very simple to show the version of
external tools used by the plugin, just to be clear for the developer.
Similarly, hbmk2 does that showing the version of make.

If you and Pritpal agree, I would like to do that.
I'm here not just to use, but to contribute and support Harbour too.

> BTW in this case Harbour make system did signal the problem
> with the message that the .uic was invalid, which it was.

Yes, Harbour make system did its job very well!

Thanks,

Romulo

Viktor Szakáts

unread,
Dec 11, 2010, 7:01:03 PM12/11/10
to Harbour Users
Hi Romulo,

> > ending effort taking just as many resources on all
> > levels. Also the benefit is pretty small.
>
> Seeing this way I totally agree with you.
>
> On the other hand, I think it's very simple to show the version of
> external tools used by the plugin, just to be clear for the developer.

As far as I view it, this job is much more simply done
by typing 'uic' (or 'moc' or 'rcc') on the cmdline for those
users who suspect such problems.

> Similarly, hbmk2 does that showing the version of make.

hbmk2 doesn't use 'make' tool. Pbly you mean the Harbour
build system, which shows GNU Make version. Harbour
build system is written in GNU Make script language and
it's merely showing the version of the engine executing it.

> If you and Pritpal agree, I would like to do that.
> I'm here not just to use, but to contribute and support Harbour too.

Your contribution is very much welcome.

I've committed small change to display tool version
when build is invoked with -info hbmk2 option.

Viktor

romulo

unread,
Dec 15, 2010, 3:36:50 PM12/15/10
to Harbour Users
Hi Viktor,

> As far as I view it, this job is much more simply done
> by typing 'uic' (or 'moc' or 'rcc') on the cmdline for those users who suspect such problems.

I agree, it's very trivial, but considering that a user is suspecting
of the version. That was not my case, because I thought I would be
with the updated version of QT.

In this case, the fact of see the tool version in the build log would
be helping a lot. So, a quick look in the log could raise the
suspicion more early.

> hbmk2 doesn't use 'make' tool. Pbly you mean the Harbour
> build system, which shows GNU Make version. Harbour
> build system is written in GNU Make script language and
> it's merely showing the version of the engine executing it.

Yes, just to warn the user. Simple, but it can prevent users from
wasting time in some situations like this.

> I've committed small change to display tool version
> when build is invoked with -info hbmk2 option.

Very nice!

Thank you again.

Romulo.

Alain Aupeix

unread,
Jan 3, 2011, 1:57:11 PM1/3/11
to harbou...@googlegroups.com
Hi,

I was using 10.04, and there was such no problem when compiling, except
for contrib which aren't build with harbour makefile

Now, I have installed a computer with 10.10, and I have had some
troubles with contribs

C++ wasn't installed, I have installed first g++-4.5 packet, and it was
always bas. I installed then g++ packet which also installed g++-4.4,
and now it's ok

I have had no trouble with hbide, and it had compile without problem.

A+


marcobra

unread,
Mar 5, 2011, 9:26:12 PM3/5/11
to harbou...@googlegroups.com
This is usually is an issue on compiling uic when the system call the qt3 uic compiler so there are two main solution:

1) - use the update-alternatives tool to change/check the uic version called by default from the system:

sudo update-alternatives --config moc
sudo update-alternatives --config uic
sudo update-alternatives --config lupdate
sudo update-alternatives --config lrelease
sudo update-alternatives --config designer

or remove all the qt3-dev related tools  

sudo apt-get remove qt3-dev-*

or simply the 

sudo apt-get remove qt3-dev-tools

package...

Hope this helps 
Marco Braida
Reply all
Reply to author
Forward
0 new messages