LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-19-2007, 10:25 PM   #1
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
Lightbulb Compiling problems with Slackware 12RC1


I've been having problems compiling some programs under Slackware 12RC1. For example, with wine, ppracer, and some kde-apps won't compile. I get errors during the compiling. I'm wondering if someone else has had these problems. I got frozen-bubble2 to compile with no problems though. I have never had issues compiling programs with Slackware. I wonder if this has something to do with Slackware upgrading gcc and some other packages. Any thoughts? Thanks!
 
Old 06-19-2007, 10:39 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
It's quite possible (especially with gcc-4.x). Can you post some of the errors. Usually they can be fixed (unless the application does strange things with gcc).
 
Old 06-19-2007, 10:47 PM   #3
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
I've compiled several programs and no problems except for one that was written using boost. (FIRESTARTER) What are the error messages? Dependencies?
 
Old 06-19-2007, 11:06 PM   #4
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Code:
ppgltk/FT/FTTextureGlyph.h:55: error: extra qualification 'FTTextureGlyph::' on member 'ResetActiveTexture'
make[2]: *** [FTGLTextureFont.o] Error 1
That's the one I get with ppracer. I'm going to get wine going again and I'll report in the morning of what the errors.
 
Old 06-19-2007, 11:36 PM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
What I usually do for that is go into ppgltk/FT/FTTextureGlyph.h line 55 with a text editor and delete exactly 'FTTextureGlyph::'

EDIT: If anyone knows another solution to these types of errors using gcc-4.x, please say so ... I would really like to know.

Last edited by H_TeXMeX_H; 06-19-2007 at 11:39 PM.
 
Old 06-19-2007, 11:54 PM   #6
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by H_TeXMeX_H
What I usually do for that is go into ppgltk/FT/FTTextureGlyph.h line 55 with a text editor and delete exactly 'FTTextureGlyph::'

EDIT: If anyone knows another solution to these types of errors using gcc-4.x, please say so ... I would really like to know.
Where is that directory located?

EDIT: Nevermind, found it!
 
Old 06-20-2007, 12:06 AM   #7
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
I am now getting this error!

Code:
chmod: changing permissions of `/usr/share/ppracer/_inst.13005_': No such file or directory
make[2]: *** [install-nobase_dist_ppdataDATA] Error 1
 
Old 06-20-2007, 10:29 AM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
That's an odd one. Not sure about that one. Do you see such a file as '_inst.13005_' anywhere ? (like in the build directory ?)
 
Old 06-22-2007, 06:57 PM   #9
J_W
Member
 
Registered: Apr 2004
Location: Yamagata, JAPAN
Distribution: Slackware64-current
Posts: 189

Rep: Reputation: 123Reputation: 123
I was able to compile ppracer-0.5alpha with patch below under Slackware-12.0RC1.

Code:
--- ppracer-0.5alpha/src/racingmode.h~  2005-09-15 09:44:49.000000000 +0200
+++ ppracer-0.5alpha/src/racingmode.h   2006-08-24 18:21:27.000000000 +0200
@@ -27,7 +27,7 @@ class RacingMode : public GameMode
 protected:
        bool m_paused;
 
-       RacingMode::RacingMode();
+       RacingMode();
        void renderCourse(int player, float timestep);
 
 public:
 
Old 07-05-2007, 03:34 PM   #10
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by J_W
I was able to compile ppracer-0.5alpha with patch below under Slackware-12.0RC1.

Code:
--- ppracer-0.5alpha/src/racingmode.h~  2005-09-15 09:44:49.000000000 +0200
+++ ppracer-0.5alpha/src/racingmode.h   2006-08-24 18:21:27.000000000 +0200
@@ -27,7 +27,7 @@ class RacingMode : public GameMode
 protected:
        bool m_paused;
 
-       RacingMode::RacingMode();
+       RacingMode();
        void renderCourse(int player, float timestep);
 
 public:
How do you apply a patch? I don't think I've done that.

And H_TeXMeX_H, sorry it took me a while to respond, but now that Slackware 12 is out, I may try compiling it again. We'll see. Thanks everyone for the help!
 
Old 07-05-2007, 04:23 PM   #11
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
I haven't had any problems compiling with Slack 12.0 yet. I compiled Sylpheed 2.4.3 from source the other day with no issues.
Good luck, hope you get it sorted out.
 
Old 07-05-2007, 05:35 PM   #12
J_W
Member
 
Registered: Apr 2004
Location: Yamagata, JAPAN
Distribution: Slackware64-current
Posts: 189

Rep: Reputation: 123Reputation: 123
>How do you apply a patch?

OK. Here is a Mandriva's patch for ppracer-0.5alpha.
http://cvs.mandriva.com/cgi-bin/view...c4.1-fix.patch

Download the patch.
Untar ppracer-0.5alpha source.
Then move to ppracer's source directory.
# cd ppracer-0.5alpha
# patch -p1 < [PATH_TO]/ppracer-0.5alpha-gcc4.1-fix.patch
 
Old 07-05-2007, 06:47 PM   #13
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by J_W
>How do you apply a patch?

OK. Here is a Mandriva's patch for ppracer-0.5alpha.
http://cvs.mandriva.com/cgi-bin/view...c4.1-fix.patch

Download the patch.
Untar ppracer-0.5alpha source.
Then move to ppracer's source directory.
# cd ppracer-0.5alpha
# patch -p1 < [PATH_TO]/ppracer-0.5alpha-gcc4.1-fix.patch
Thanks for the explanation. Now, after applying the patch, then I run ./configue && make && checkinstall as usual?
 
Old 10-16-2007, 05:40 AM   #14
bjdodo
Member
 
Registered: Dec 2006
Location: Ireland
Distribution: Slackware 12, kubuntu
Posts: 35

Rep: Reputation: 16
Hi

I used to have a problem building wine, using huge.s kernel. One of the error messages suggested that I should rebuild my kernel, because my kernel was not built with the compiler that I am trying to use to build wine. So I just rebuilt my kernel and the problem is gone. I do not remember the exact error message, it was at the end of August.

Jozsi
 
  


Reply



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
problems compiling xorg on slackware 10 stesith Slackware 1 09-06-2004 06:31 PM
problems compiling cdrtools on slackware 9 easleyj Linux - Newbie 4 05-16-2004 03:56 AM
COmpiling problems on slackware-current Anibal Slackware 5 04-09-2004 08:12 AM
Problems compiling Quadra on Slackware 9.1 Jonatoon Linux - Games 0 02-26-2004 08:10 AM

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

All times are GMT -5. The time now is 01:28 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