LinuxQuestions.org
Help answer threads with 0 replies.
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 07-09-2003, 08:27 PM   #1
BearClaw
Member
 
Registered: Jun 2003
Location: USA
Distribution: Slackware-Current
Posts: 90

Rep: Reputation: 15
Question CDBakeOven-"make" Errors


I attempted to install from source: cdbakeoven-2.0beta2, on my slack-9 box and during 'make' I received errors.

After unpacking/untarring, here is the steps I took:

$cd /home/frank/cdbakeoven-2.0beta2
$./configure --prefix=/opt/kde3.1
$make

Here are the errors I got in the last part of the 'make' operation:

/usr/include/asm/byteorder.h:38: syntax error before `(' token
/usr/include/asm/byteorder.h:42: '__u64' is used as a type, but is not defined
as a type.
/usr/include/asm/byteorder.h:43: parse error before `}' token
/usr/include/asm/byteorder.h:44: syntax error before `.' token
/usr/include/asm/byteorder.h:50: syntax error before `.' token
/usr/include/asm/byteorder.h:51: syntax error before `.' token
/usr/include/asm/byteorder.h:52: parse error before `:' token
In file included from /usr/include/linux/byteorder/little_endian.h:11,
from /usr/include/asm/byteorder.h:65,
from /usr/include/linux/cdrom.h:14,
from CdboCDRom.cpp:34:
/usr/include/linux/byteorder/swab.h:199: syntax error before `(' token
/usr/include/linux/byteorder/swab.h:209: syntax error before `(' token
/usr/include/linux/byteorder/swab.h:213: `__u64' was not declared in this scope
/usr/include/linux/byteorder/swab.h:213: `addr' was not declared in this scope
/usr/include/linux/byteorder/swab.h:214: variable or field `__swab64s' declared
void
/usr/include/linux/byteorder/swab.h:214: `__swab64s' declared as an `inline'
variable
/usr/include/linux/byteorder/swab.h:214: syntax error before `{' token
make[3]: *** [CdboCDRom.lo] Error 1
make[3]: Leaving directory `/home/frank/cdbakeoven-2.0beta2/cdbakeoven/cdboshared'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/frank/cdbakeoven-2.0beta2/cdbakeoven'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/frank/cdbakeoven-2.0beta2'
make: *** [all] Error 2

Any suggestions/ideas? I have never been able to install from source yet due to errors during 'make'.

TIA, BC

Last edited by BearClaw; 07-09-2003 at 08:30 PM.
 
Old 07-09-2003, 09:43 PM   #2
mfread
LQ Newbie
 
Registered: Jul 2003
Posts: 5

Rep: Reputation: 0
well for starters your running that from /home/frank and trying to install in /opt... you are running make as root right or you've given frank appropriate permissions?

Your also trying to compile a beta so there may well be errors in the code, this goes without saying, a beta I've never heard of so it especially goes without saying

On a final note, until you've successfully compiled from source successfully dozens of times you probably don't want to be running a distro to the tune of slackware. A distro with a nice pretty packaging system is probably more your speed such as mandrake, redhat, or debian. Or did you simply mean you haven't gotten this particular app to compile? If just this app and you are running with appropriate permissions, have configured with no errors and followed the instructions in whatever install files came with the source package then you should probably be contacting the developers of that beta so they can fix whatever problem it is.
 
Old 07-09-2003, 10:10 PM   #3
BearClaw
Member
 
Registered: Jun 2003
Location: USA
Distribution: Slackware-Current
Posts: 90

Original Poster
Rep: Reputation: 15
mfread, Thanks for the reply. I downloaded the source file to my /home dir and unpacked and did the steps on the above post.

This is new to me; where should I put the source file? Where should I run the "source ./configure, make and make install" from?

Please, it's obvious that I need some more advice/info..

TIA, BC
 
Old 07-10-2003, 03:39 AM   #4
Waldi
Member
 
Registered: Apr 2003
Location: Warsaw, Poland
Distribution: Slackware current
Posts: 133

Rep: Reputation: 15
I compiled this software without problems. As in Slack 9 KDE is located in /opt/kde your "configure" should look like this :
./configure --prefix=/opt/kde
As you used another prefix, maybe that caused errors.
It doesn't matter, where you unpack and compile software, some people like /usr/src for this purpose.
 
Old 07-10-2003, 09:09 AM   #5
BearClaw
Member
 
Registered: Jun 2003
Location: USA
Distribution: Slackware-Current
Posts: 90

Original Poster
Rep: Reputation: 15
Thank you, Waldi, for your information(grin). I'll try again with the prefix you suggested.

Do I have to have certain permissions granted, in order to do this source compile?

TIA, BC
 
Old 07-10-2003, 04:47 PM   #6
BearClaw
Member
 
Registered: Jun 2003
Location: USA
Distribution: Slackware-Current
Posts: 90

Original Poster
Rep: Reputation: 15
I tried to do the source-install routine again and it said: "aclocal-1.6 is missing". Also it said that I should install:"Automake and Perl".

In pkgtool, I checked and 'Automake' and 'perl' are installed.

I don't know what do do next. I would really appreciate some advice on what is wrong or what to do next.

Thanks, folks, BC
 
Old 07-11-2003, 06:07 AM   #7
Waldi
Member
 
Registered: Apr 2003
Location: Warsaw, Poland
Distribution: Slackware current
Posts: 133

Rep: Reputation: 15
First mail : you only need to be root to "make install" (or checkinstall - it is worth to install and use this package, as it creates Slack's foo.tgz package, easy for uninstall. You may download it from "extra" directory).
Second mail : do you have "full" Slack install? Maybe some important libraries are missing?
You can also try ./configure --help option. It will list all possible configure options, then you can set e.g. paths to your perl directory manually (if it differs from expected).
You may also browse www.linuxpackages.net to find this software in "ready to use" .tgz form.
 
Old 07-11-2003, 01:27 PM   #8
BearClaw
Member
 
Registered: Jun 2003
Location: USA
Distribution: Slackware-Current
Posts: 90

Original Poster
Rep: Reputation: 15
waldi, I have checkinstall installed. I ran the ./configure and make as regular-user. If I'd have not received errors I'd have run #checkinstall (as root).

I did not do a full install, but I installed all the "d", Libraries and just about everything except the gnome desktop. I did install the gnome libraries though.

I'll try installing some other application from source and see how it comes out.

Thanks for your support(grin), BC
 
  


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
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 03:33 PM
"make-kpkg --revision=foo.1.0 kernel_image" gives some errors (kernel 2.6.3) Duukkis Debian 14 05-23-2004 04:58 AM
WPC11 Ver4 and "Make" errors. plz help JRR Linux - Hardware 4 05-22-2004 06:08 PM
What the? "make nvnet" gives strange errors on A7N8X-VM. Dunedain Linux - Newbie 1 02-03-2004 08:49 AM
"make"-error's from cdbakeoven-2.0beta2 BearClaw Slackware 1 07-22-2003 09:14 PM


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