LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   CDBakeOven-"make" Errors (https://www.linuxquestions.org/questions/slackware-14/cdbakeoven-make-errors-71412/)

BearClaw 07-09-2003 07:27 PM

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

mfread 07-09-2003 08:43 PM

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.

BearClaw 07-09-2003 09:10 PM

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

Waldi 07-10-2003 02:39 AM

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.

BearClaw 07-10-2003 08:09 AM

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

BearClaw 07-10-2003 03:47 PM

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

Waldi 07-11-2003 05:07 AM

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.

BearClaw 07-11-2003 12:27 PM

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


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