QT Creator compilation problem !!!

setti

Member

Reaction score: 1
Messages: 65

Hello,

I want to compile qt-creator IDE (1.2.1) in (freebsd 7.1) but I get some errors caused by ldl linux library. How can I avoid this prob !

Code:
% qmake
% make


/usr/bin/ld: cannot find -ldl
*** Error code 1

Stop in /usr/home/setti/qt-creator-1.2.1-src/BUILD_DIRECTORY/src/libs/extensionsystem.
*** Error code 1

Stop in /usr/home/setti/qt-creator-1.2.1-src/BUILD_DIRECTORY/src/libs.
*** Error code 1

Stop in /usr/home/setti/qt-creator-1.2.1-src/BUILD_DIRECTORY/src.
*** Error code 1

Stop in /usr/home/setti/qt-creator-1.2.1-src/BUILD_DIRECTORY.

Thank you in advance
 
OP
OP
setti

setti

Member

Reaction score: 1
Messages: 65

Thank you dear lyuts, at this moment I travel but when I come back I will prevent you if your patch works for me. ;)

cheers
 
OP
OP
setti

setti

Member

Reaction score: 1
Messages: 65

make works fine but when I try to put :

# make install

I get :

Code:
cd qtcreator/translations/ && make -f Makefile install
SRCDIR=/usr/home/setti/work/qt-creator-1.2.1-src/doc OUTDIR=/usr/home/setti/work
/qt-creator-1.2.1-src/doc/html /tools/qdoc3/qdoc3 /usr/home/setti/work/qt-creator-1.2.1-src/doc/qtcreator.qdocconf
/tools/qdoc3/qdoc3: not found
*** Error code 127

Stop in /usr/home/setti/work/qt-creator-1.2.1-src.
Help ! :(
 

lyuts

Active Member

Reaction score: 11
Messages: 193

I didn't try to fix the 'install' target. My goal was to make it compile. The compilation succeeds. What I did on my machine is I copied the binary and the libs manually. I know this is not the best way to do things, but i did it this way because I thought that it would take me more time to investigate it and fix it, rather then just copy the binary and those libs.
 
OP
OP
setti

setti

Member

Reaction score: 1
Messages: 65

lyuts said:
I didn't try to fix the 'install' target. My goal was to make it compile. The compilation succeeds. What I did on my machine is I copied the binary and the libs manually. I know this is not the best way to do things, but i did it this way because I thought that it would take me more time to investigate it and fix it, rather then just copy the binary and those libs.
ok ;) but can you precise the bin/lib names, where I find it and also where I must copy it ? :)

thank you
 

lyuts

Active Member

Reaction score: 11
Messages: 193

I have opt/ dir in my $HOME. So, i copy bin/ and lib/ to $HOME/opt/qt-creator-1.2.1/. You can easily find them in qt-creator-1.2.1 source directory when compilation is finished .
 

lyuts

Active Member

Reaction score: 11
Messages: 193

Cool, have fun. I have sent these patches to Qt Creator developers, so, I hope there will be no need to patch new versions of Qt Creator.
 
Top