LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Cannot compile wine from source (https://www.linuxquestions.org/questions/fedora-35/cannot-compile-wine-from-source-117801/)

wampfler 11-19-2003 09:43 AM

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!

jbogins 11-19-2003 10:42 AM

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

wapcaplet 11-19-2003 11:05 AM

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.

wampfler 11-19-2003 11:46 AM

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?

wampfler 11-19-2003 01:28 PM

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

wapcaplet 11-19-2003 01:37 PM

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 :)

GAVollink 11-19-2003 02:31 PM

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

Falafel 11-20-2003 05:05 PM

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


All times are GMT -5. The time now is 08:40 PM.