LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 11-19-2003, 09:43 AM   #1
wampfler
Member
 
Registered: Nov 2003
Location: switzerland
Distribution: Fedora Core 1.0/Gentoo
Posts: 35

Rep: Reputation: 15
Question Cannot compile wine from source


i tried to compile wine (version 20031016) from source:
./tools/wineinstall
but i get the following error:
/usr/include/openssl/kssl.h:136: error: syntax error before '*' token
/usr/include/openssl/kssl.h:149: error: syntax error before '*' token
/usr/include/openssl/kssl.h:150: error: syntax error before '*' token
/usr/include/openssl/kssl.h:151: error: syntax error before '*' token
/usr/include/openssl/kssl.h:151: error: syntax error before '*' token
/usr/include/openssl/kssl.h:152: error: syntax error before '*' token
/usr/include/openssl/kssl.h:153: error: syntax error before '*' token
/usr/include/openssl/kssl.h:155: error: syntax error before '*' token
/usr/include/openssl/kssl.h:157: error: syntax error before '*' token
/usr/include/openssl/kssl.h:159: error: syntax error before '*' token
/usr/include/openssl/kssl.h:167: error: syntax error before '*' token
In file included from internet.h:36,
from cookie.c: 55
.... and so on....

anyone have successfully compiled it?
thx for help!
 
Old 11-19-2003, 10:42 AM   #2
jbogins
LQ Newbie
 
Registered: Nov 2003
Distribution: fedora core 1
Posts: 29

Rep: Reputation: 15
not tried source but have used binary rpm from source forge (RH9 version)
( wine-20031016-1rh9winehq.i686.rpm )

http://sourceforge.net/project/showf...?group_id=6241

seems to work ok

understand there is a new release ( Wine 20031118 )
http://www.winehq.com/?announce=1.81
 
Old 11-19-2003, 11:05 AM   #3
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Does it give you any "such-and-such library not found" errors along with those? Typically, when it has parsing errors like that, it means there are some development libraries that aren't installed. If it's complaining about a missing library, try to find and install it to see if it fixes the problem.
 
Old 11-19-2003, 11:46 AM   #4
wampfler
Member
 
Registered: Nov 2003
Location: switzerland
Distribution: Fedora Core 1.0/Gentoo
Posts: 35

Original Poster
Rep: Reputation: 15
it's the syntax error in the openssl library (/usr/include/openssl/kssl.h). i opened this file, but it seems to be alright. is the gcc too new or what?
 
Old 11-19-2003, 01:28 PM   #5
wampfler
Member
 
Registered: Nov 2003
Location: switzerland
Distribution: Fedora Core 1.0/Gentoo
Posts: 35

Original Poster
Rep: Reputation: 15
version 20031118 from source don't work (same error)
but the rpm runs flawless. there is even a rpm package for fedora:
http://prdownloads.sourceforge.net/w...6.rpm?download
 
Old 11-19-2003, 01:37 PM   #6
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Quote:
Originally posted by wampfler
it's the syntax error in the openssl library (/usr/include/openssl/kssl.h). i opened this file, but it seems to be alright. is the gcc too new or what?
Actually, that file is probably fine - it's something else that kssl.h is trying to include that is likely to be the real problem.

If the RPM runs to your liking, then I'd suggest just sticking with that - I've had very few problems with them, and it's a lot less hassle
 
Old 11-19-2003, 02:31 PM   #7
GAVollink
Member
 
Registered: Apr 2002
Location: St. Paul, Minnesota
Distribution: UbuntuStudio, Ubuntu
Posts: 357

Rep: Reputation: 31
I've had stuff that tried to include openssl stuff, but ends up getting messed up in an ssl header that has a system default equivelant. Err.h or some-such. In other-words, two versions of the same file - only way I could get around it was to modify the source to exclusively request #incldue "openssl/?????.h" - I posted that somewhere to this group - can't even remember what project I was compiling.

Here's the Thread

Last edited by GAVollink; 11-19-2003 at 02:34 PM.
 
Old 11-20-2003, 05:05 PM   #8
Falafel
Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Fedora
Posts: 43

Rep: Reputation: 15
i got it working when i removed krb5-devel, openssl-devel and one more which I don't remember the name of =(
 
  


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
Compile source on other pc ??? sys7em Linux - General 1 11-01-2004 09:53 AM
How to compile source??? Aranilion Programming 12 08-25-2004 12:44 PM
Compile from source kaon Slackware 4 07-19-2004 10:06 AM
Still can't compile from source Nappa Slackware 1 12-27-2003 04:12 AM
How do I compile from source? graystarr Red Hat 3 09-19-2003 12:35 PM


All times are GMT -5. The time now is 04:37 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration