LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-13-2007, 09:49 AM   #1
mperez
LQ Newbie
 
Registered: Jul 2006
Location: Germany
Distribution: SuSe, CentOS
Posts: 28

Rep: Reputation: 15
qmake not found on debian 4


Hi everyone, i'm Debian's 4 etch novice

I was trying to install the egsnrc MC, but when I typed the command "make" to do the gui (graphycal user interface of this program)


I saw in my shell script;

/home/prez/HEN_HOUSE/gui/egs_configure'
/usr/local/qt3/bin/qmake my_machine=i686-pc-linux-gnu-g77 MAKEFILE=Makefile_i686-pc-linux-gnu-g77
make[1]: /usr/local/qt3/bin/qmake: Command not found
make[1]: *** [Makefile_i686-pc-linux-gnu-g77] Error 127
make[1]: Leaving directory `/home/perez/HEN_HOUSE/gui/egs_configure'
make: *** [sub-egs_configure] Error 2



so what can i do ?

Thanks
 
Old 05-13-2007, 09:50 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Did you install the build-essential package? If not, do so
 
Old 05-13-2007, 09:57 AM   #3
mperez
LQ Newbie
 
Registered: Jul 2006
Location: Germany
Distribution: SuSe, CentOS
Posts: 28

Original Poster
Rep: Reputation: 15
yes i did it.

yes i did it.

but i didn't work.
 
Old 05-13-2007, 10:03 AM   #4
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Hmmm.... The qmake tool is part of the qt3-dev-tools package. Did you install that?
 
Old 05-13-2007, 10:41 AM   #5
mperez
LQ Newbie
 
Registered: Jul 2006
Location: Germany
Distribution: SuSe, CentOS
Posts: 28

Original Poster
Rep: Reputation: 15
yes i did it install

people i had been installing


Qt3 development tools
qt3 tools compat
qt3 tool-de embedded
and Tools to develop embedded Qt applications


but i can not create the gui.


make[1]: /usr/local/qt3/bin/qmake: Command not found
make[1]: *** [Makefile_i686-pc-linux-gnu-g77] Error 127
make[1]: Leaving directory `/home/perez/HEN_HOUSE/gui/egs_configure'
make: *** [sub-egs_configure] Error 2


another idea?
 
Old 05-13-2007, 10:55 AM   #6
mastrboy
Member
 
Registered: Aug 2005
Distribution: Debian, OpenBSD, PFsense
Posts: 73

Rep: Reputation: 15
try updatedb then locate qmake, it might not be located at /usr/local/qt3/bin/qmake

else try installing apt-file, then apt-file update && apt-file search qmake
 
Old 05-13-2007, 11:00 AM   #7
mperez
LQ Newbie
 
Registered: Jul 2006
Location: Germany
Distribution: SuSe, CentOS
Posts: 28

Original Poster
Rep: Reputation: 15
how to do something like this

So here i go


I saw the "Makefile" of my gui,and i believe that
the program would see on QTDIR (i mean the qt3 directory of qt3)the qmake

but the problem is on debian the qmake

is $ usr/bin/qmake not in /usr/lib/qt3

my question is : how to link the qmake's directory with /usr/lib/qt3




ps. On the Makefile of the gui, i saw:


$(QTDIR)/bin/qmake my_machine=$(my_machine) MAKEFILE=Makefile_$(my_machine)
 
Old 05-13-2007, 11:28 AM   #8
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Code:
ln -s /usr/bin/qmake /usr/lib/qt3
 
Old 05-13-2007, 01:13 PM   #9
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Try: ln -s /usr/bin/qmake /usr/local/qt3/bin/qmake
 
Old 05-13-2007, 02:56 PM   #10
mperez
LQ Newbie
 
Registered: Jul 2006
Location: Germany
Distribution: SuSe, CentOS
Posts: 28

Original Poster
Rep: Reputation: 15
im still trying

i am still having the same problem!



idea?
 
Old 05-13-2007, 04:16 PM   #11
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 792

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
The QT3 package installs the symlink for qmake in /usr/share/qt3/bin. You might try setting the env. variable QTDIR to that.

See: Trolltech

Norm
 
Old 05-14-2007, 02:10 PM   #12
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Or try with: ln -s /usr/bin/qmake-qt3 /usr/local/qt3/bin/qmake
 
Old 05-15-2007, 12:12 PM   #13
mperez
LQ Newbie
 
Registered: Jul 2006
Location: Germany
Distribution: SuSe, CentOS
Posts: 28

Original Poster
Rep: Reputation: 15
i include the QTDIR

i have been including the QTDIR some like this and linking the qmake with qt3 of libraries


export QTDIR /usr/lib/qt3

but i saw the same problem

didn't i the correct?

 
Old 05-15-2007, 02:37 PM   #14
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
How about this instead: export QTDIR=/usr/lib/qt3
 
Old 05-15-2007, 03:32 PM   #15
mperez
LQ Newbie
 
Registered: Jul 2006
Location: Germany
Distribution: SuSe, CentOS
Posts: 28

Original Poster
Rep: Reputation: 15
ok that woks but ...

okey i can compile the code but i did not build the gui.

i see it:
usr/local/qt3/bin/qmake my_machine=i686-pc-linux-gnu-gfortran MAKEFILE=Makefile_i686-pc-linux-gnu-gfortran QMAKE=/usr/local/qt3/bin/qmake
QMAKESPEC has not been set,
so configuration cannot be deduced.
Error processing project file: /home/guest/HEN_HOUSE/gui/gui.pro
make: *** [Makefile_i686-pc-linux-gnu-gfortran] Error 2
Failed running make EGS_CONFIG=/home/guest/HEN_HOUSE/specs/i686-pc-linux-gnu-gfortran.conf

how can i set the qmakespec?.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qmake: command not found after apparently flawless Qt install emiphiste Linux - Software 6 12-13-2006 07:16 PM
qmake Jongi SUSE / openSUSE 1 10-30-2005 03:05 AM
qmake not found ??? rooman Linux - General 0 11-01-2004 06:04 AM
qmake not found Mestax Linux - Newbie 2 09-06-2003 12:42 PM
qt qmake nakkaya Programming 0 08-11-2003 08:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration