LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-04-2011, 10:23 PM   #1
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
fbdesk make errors during SlackBuild on Slackware 13.1


I downloaded fbdesk from SlackBuilds.org. The latest version was for Slackware 12.2 but as there didn't seem to be any version specific information in the files I thought it should easily build a package for Slackware 13.1.

Not so. This is the error message generated:
Code:
XFontImp.cc: In member function 'virtual void FbTk::XFontImp::rotate(float)':
XFontImp.cc:221: error: 'calloc' was not declared in this scope
XFontImp.cc:230: error: 'free' was not declared in this scope
XFontImp.cc:269: error: 'free' was not declared in this scope
make[3]: *** [XFontImp.o] Error 1
make[3]: Leaving directory `/tmp/SBo/fbdesk-1.4.1/src/FbTk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/fbdesk-1.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/fbdesk-1.4.1'
make: *** [all] Error 2
The md5sum on the downloaded file is the same as that shown on the Slackbuilds site so I don't know what to make of this.
 
Old 02-05-2011, 04:37 PM   #2
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
It is missing some includes. Use this patch and it should compile. It did on my Slackware 13.1 desktop.

http://aur.archlinux.org/packages/fb....1-gcc43.patch
 
Old 02-06-2011, 10:29 AM   #3
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722

Original Poster
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
Thanks, I ran the patch and it gave positive feedback. However, on running the SlackBuild, I still got the same error messages as above.
 
Old 02-06-2011, 10:47 AM   #4
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
Quote:
Originally Posted by psionl0 View Post
Thanks, I ran the patch and it gave positive feedback. However, on running the SlackBuild, I still got the same error messages as above.
How are you applying the patch?

If you add this line in red to the slackbuild it should build just fine.
Code:
chmod -R u+w,go+r-w,a-s .

patch -p1 < $CWD/fbdesk-1.4.1-gcc43.patch

CFLAGS="$SLKCFLAGS" \
 
1 members found this post helpful.
Old 02-06-2011, 11:16 AM   #5
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722

Original Poster
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
That fixed it. I had originally put the patch into SlackBuild as:

patch -p0 $CWD/$PRGNAM-$VERSION-gcc43.patch

Changing that 0 to a 1 made all the difference.

Now I have idesk and fbdesk and need to decide which package is better but that is another story . . .
 
  


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
Fbdesk make error returnzero Linux - Software 4 06-15-2009 12:07 AM
errors running a slackbuild. garyg007 Linux - Software 5 01-12-2009 11:26 AM
slackbuild vrs configure-make-make install garyg007 Slackware 12 12-21-2008 10:27 PM
ladspa make errors on slackware 12 AIgare Slackware 1 07-30-2007 06:10 AM
Madwifi slackbuild errors... uglydot Slackware 6 12-15-2006 03:10 PM

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

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