Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New QT4 port of QUCS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
ConnClark
n00b
n00b


Joined: 15 Aug 2007
Posts: 57

PostPosted: Thu Mar 14, 2013 7:10 pm    Post subject: New QT4 port of QUCS Reply with quote

Hi all,

I'm trying to build the brand new qt4 port of QUCS. After finally figuring out that the snv checkout command on the sourceforge site was wrong to get the qt4 version I figured out the right command. it builds right up until its time to link then it can't find the libraries for QT.

Steps to reproduce


svn checkout svn://svn.code.sf.net/p/qucs/code/branches/qucs-qt4 qucs-code

cd qucs-code/qucs

./autogen.sh

make



Output of crash


g++ -g -O2 -pipe -fno-exceptions -fno-check-new -W -Wall -Lnonexistent/lib -o qucs node.o element.o qucsdoc.o wire.o mouseactions.o qucs.o main.o wirelabel.o qucs_init.o qucs_actions.o viewpainter.o mnemo.o schematic.o schematic_element.o textdoc.o schematic_file.o syntax.o module.o octave_window.o qucs.moc.o schematic.moc.o textdoc.moc.o octave_window.moc.o components/libcomponents.a diagrams/libdiagrams.a paintings/libpaintings.a dialogs/libdialogs.a -lSM -lICE -lX11 -lQtCore -lQtGui -lQtXml -lQt3Support
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lQtCore
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lQtGui
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lQtXml
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lQt3Support
collect2: error: ld returned 1 exit status
make[3]: *** [qucs] Error 1
make[3]: Leaving directory `/root/qucs/qucs-code/qucs/qucs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/qucs/qucs-code/qucs/qucs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/qucs/qucs-code/qucs'
make: *** [all] Error 2



Any body have any ideas on how to get past this?
_________________
In formal computer science advances are made by standing on the shoulders of giants. Linux has shown that, if there are enough of you, you can advance just as far by stepping on each others toes.
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4915

PostPosted: Thu Mar 14, 2013 7:53 pm    Post subject: Reply with quote

you need to point the libs path to the location of the qt libs, it should be as follows -L/path/to/libs
add it to LDFLAGS
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
ConnClark
n00b
n00b


Joined: 15 Aug 2007
Posts: 57

PostPosted: Thu Mar 14, 2013 8:20 pm    Post subject: Reply with quote

Thanks,


I just found I could make it work by editing the configure.ac file.


I moved /usr/lib64/qt4 to the front of the list to search on the line

paths="blah blah blah /usr/lib64/qt4"

to change it to

paths="/usr/lib64/qt4 blah blah blah"


The editor now compiles and installs and runs

I'm now fighting with getting the qucs-core directory to build
_________________
In formal computer science advances are made by standing on the shoulders of giants. Linux has shown that, if there are enough of you, you can advance just as far by stepping on each others toes.
Back to top
View user's profile Send private message
ConnClark
n00b
n00b


Joined: 15 Aug 2007
Posts: 57

PostPosted: Fri Mar 15, 2013 10:32 pm    Post subject: Reply with quote

Okay.

I now have the qucs core built and working.


I had to first emerge dev-perl/GD

to build it do the following

cd qucs-core

./autogen.sh

cd adms

./autogen_lin.sh

cd ..

make

make install
_________________
In formal computer science advances are made by standing on the shoulders of giants. Linux has shown that, if there are enough of you, you can advance just as far by stepping on each others toes.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum