LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-29-2003, 06:43 PM   #1
jd121
Member
 
Registered: Jul 2003
Distribution: FreeBSD 5.1, Debian 3.0, Damn Small 0.4.2
Posts: 46

Rep: Reputation: 15
apollon won't compile :(


I was looking for a good p2p program that would work off the kazaa network, and I found apollon. I dl'd it and try to compile it. The ./configure ran just fine, but when compiling it, i get the output

"...
In file included from main.cpp:11:
apollon.h:38:25: preferences.h: No such file or directory
In file included from main.cpp:11:
apollon.h:58: syntax error before `*' token
*** Error code 1"

Any ideas here?
 
Old 07-29-2003, 07:53 PM   #2
ovf
Member
 
Registered: Jul 2003
Location: Massachusetts
Distribution: LFS 4.0, Windows XP, Ubuntu 10.01, Gentoo 2.6.32-r7, OpenSolaris
Posts: 100

Rep: Reputation: 15
I downloaded the source and am compiling it on RH 9.0. It looks like preferences.h is created in ~/apollon-0.8/apollon by the following rule in the Makefile:

preferences.h: $(srcdir)/preferences.ui
$(UIC) -o preferences.h $(srcdir)/preferences.ui

You might try executing the "uic -o preferences.h preferences.ui" command to see if it generates errors.
 
Old 07-29-2003, 10:52 PM   #3
jd121
Member
 
Registered: Jul 2003
Distribution: FreeBSD 5.1, Debian 3.0, Damn Small 0.4.2
Posts: 46

Original Poster
Rep: Reputation: 15
Running the above command seems to execute fine. No error message is reported.
 
Old 07-29-2003, 10:55 PM   #4
jd121
Member
 
Registered: Jul 2003
Distribution: FreeBSD 5.1, Debian 3.0, Damn Small 0.4.2
Posts: 46

Original Poster
Rep: Reputation: 15
Ok....

Now upon running the make command, the output seems to keep repeating itself. I get several warnings. It keeps spitting this out, and then repeating itself. The last line before repeating itslef it says:

/usr/include/g++/bits/istream.tcc:1205: warning: ISO C++ forbids the use of
`extern' on explicit instantiations

Then it simply stats over, and repeats the same output. Any thoughts on this?
 
Old 07-30-2003, 12:24 AM   #5
ovf
Member
 
Registered: Jul 2003
Location: Massachusetts
Distribution: LFS 4.0, Windows XP, Ubuntu 10.01, Gentoo 2.6.32-r7, OpenSolaris
Posts: 100

Rep: Reputation: 15
Did you happen to notice if preferences.h existed before you ran the uic command? If not I'd do a "make distclean" then reconfigure and recompile to see if there might have been a failure early in the make process.

I did a search of istream.tcc on my box and came up with:/usr/include/c++/3.2.2/bits/istream.tcc which has a slightly different path from what's shown in your log. what version of gcc are you running? Does the program finish compiling eventually? I get numerous warning but the program does compile and link. The warnings I'm getting are different though.
 
Old 07-30-2003, 08:36 PM   #6
jd121
Member
 
Registered: Jul 2003
Distribution: FreeBSD 5.1, Debian 3.0, Damn Small 0.4.2
Posts: 46

Original Poster
Rep: Reputation: 15
I did a make distclean. I re did the configure and make and make is still giving the error :

/usr/include/g++/bits/istream.tcc:1205: warning: ISO C++ forbids the use of
`extern' on explicit instantiations
In file included from main.cpp:11:
apollon.h:58: syntax error before `*' token
*** Error code 1

Not sure what exactly is causing this. Any ideas ???
 
Old 07-31-2003, 03:00 PM   #7
jd121
Member
 
Registered: Jul 2003
Distribution: FreeBSD 5.1, Debian 3.0, Damn Small 0.4.2
Posts: 46

Original Poster
Rep: Reputation: 15
^bump
 
Old 08-01-2003, 11:16 PM   #8
ovf
Member
 
Registered: Jul 2003
Location: Massachusetts
Distribution: LFS 4.0, Windows XP, Ubuntu 10.01, Gentoo 2.6.32-r7, OpenSolaris
Posts: 100

Rep: Reputation: 15
Did the make command rebuild the preferences.h file automatically? If it didn't then I'd start by figuring out why that doesn't work. Also what version of gcc are you using? I'm using 3.2.2.
 
  


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
installed apollon...nothing happens!... breezewax Linux - Software 3 09-11-2004 11:44 PM
ld compile problem on Kaffeine and Apollon ciaran_skye Fedora 1 06-22-2004 06:45 PM
Apollon Questions inescapeableus Linux - Software 6 06-13-2004 04:54 AM
Apollon carlolin Linux - Software 16 06-08-2004 11:50 AM
Apollon.... MrH0TT Linux - Software 1 03-17-2004 01:36 AM


All times are GMT -5. The time now is 11:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration