LinuxQuestions.org
Register a domain and help support LQ
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 10-14-2006, 06:04 AM   #1
PCPbSlack
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware 10.2 & 11
Posts: 11

Rep: Reputation: 0
Wink Audacity source build


Hello

I try to build from sources Audacity 1.2.4b but after ./configure && make this is the result:
Code:
./configure && make
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
I am not a guru, but I realise that something is missing

I checked to see, gcc-c++ is installed.

I also tooked a look in config.log, and I saw there:
Code:
/usr/include/bits/local_lim.h:36:26: /linux/limits.h: No such file or directory
I use Slack 11 with Kernel 2.6.

PS: Please don't tell me to install kernel-headers, because I would rather wait for a package to appear before installing those headers.

Thank you
 
Old 10-14-2006, 10:12 AM   #2
zekthedeadcow
LQ Newbie
 
Registered: Sep 2005
Posts: 20

Rep: Reputation: 0
limits.h is located at /usr/include/limits.h

You probably edit /usr/include/bits/local_lim.h on line 36 to "I think."

Include <user/include/limits.h>

Audacity is something I'll be installing in the near furure too...
 
Old 10-14-2006, 01:32 PM   #3
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 70
When stuff like this happens, try deleting configure and running aclocal or autoconf.
 
Old 10-14-2006, 07:47 PM   #4
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
Or you could install the kernel headers package for glibc.

installpkg slackware/d/kernel-headers*.tgz

You want whichever one glibc was compiled against if there's more than one. In Slack's case, probably 2.4.*

For me (slamd64 10.0 ... I really should upgrade ... ):

~$ scripts/findme /var/log/packages/ usr/include/linux
Found in /var/log/packages//kernel-headers-2.6.11.2-noarch-1:

- Piete.
 
Old 10-16-2006, 04:09 AM   #5
PCPbSlack
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware 10.2 & 11
Posts: 11

Original Poster
Rep: Reputation: 0
Yep, as I guessed from the beginning it worked by installing the kernel headers package. I didn't actually wanted to intall those packages, but if the application asked me nice

Thanks to all for their time!
 
Old 10-16-2006, 06:00 AM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,259

Rep: Reputation: Disabled
You mean you had not installed the kernel-headers from the 'd' series? There is absolutely no harm in installing that package, infact it will cause problems when compiling software if you omit it (as you found out yourself).

The thing you should be careful with is to install the kernel-headers from the /extra/linux-2.6.17.13 directory. This is an entirely other package.

Eric
 
Old 10-16-2006, 06:54 AM   #7
PCPbSlack
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware 10.2 & 11
Posts: 11

Original Poster
Rep: Reputation: 0
Yes I installed the headers "from the 'd' series"

I read the warning regarding the headers for the kernel 2.6.

Thank for your kind attention for my stability of my system!
 
Old 10-16-2006, 07:18 AM   #8
hoodooman
Member
 
Registered: Oct 2006
Location: Stirling in Scotland
Distribution: Slackware 13.37 64 bit
Posts: 297

Rep: Reputation: 42
audacity from source

Quote:
Originally Posted by PCPbSlack
Hello

I try to build from sources Audacity 1.2.4b but after ./configure && make this is the result:
Code:
./configure && make
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
I am not a guru, but I realise that something is missing

I checked to see, gcc-c++ is installed.

I also tooked a look in config.log, and I saw there:
Code:
/usr/include/bits/local_lim.h:36:26: /linux/limits.h: No such file or directory
I use Slack 11 with Kernel 2.6.

PS: Please don't tell me to install kernel-headers, because I would rather wait for a package to appear before installing those headers.

Thank you

hi there.I had the same problem compiling audacity on my kids machine running ubuntu.It appears to be that audacity wont compile and make with the gcc version 4.On my Slackware 10_2 it compiles no problem with gcc version 3.3.6.Check your compiler version.Hope this helps.
 
Old 10-18-2006, 03:13 AM   #9
PCPbSlack
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware 10.2 & 11
Posts: 11

Original Poster
Rep: Reputation: 0
The gcc version is 3.4.6
 
Old 10-29-2006, 09:29 AM   #10
del-boy
LQ Newbie
 
Registered: Oct 2006
Location: Novi Sad, Serbia
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
Hi...

I have a problem to with compiling Audacity from source... The eror I get is:
Code:
AColor.cpp: In static member function `static void AColor::Init()':
AColor.cpp:139: error: `GetSystemColour' is not a member of `wxSystemSettings'
AColor.cpp:140: error: `GetSystemColour' is not a member of `wxSystemSettings'
AColor.cpp:142: error: `GetSystemColour' is not a member of `wxSystemSettings'
make[1]: *** [obj/AColor.o] Error 1
make[1]: Leaving directory `/home/del-boy/Desktop/audacity-src-1.2.4b/src'
make: *** [audacity] Error 2
At first ./compile gave me an error that wxWindows is missind and I installed wxWidgets-2.7.1, but now make is giveing me this error! Does anyone knows what could be a problem? At official site of wxWindows there last version is 2.7.1...

btw: Distro is also Slackware 11, gcc is 3.4.6...

Last edited by del-boy; 10-29-2006 at 09:31 AM.
 
Old 10-29-2006, 10:23 AM   #11
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
Audacity requires wxGTK and not plain X11 wxWidgets. (yes, there are different variants of the wxWidgets library)
 
Old 10-29-2006, 08:54 PM   #12
del-boy
LQ Newbie
 
Registered: Oct 2006
Location: Novi Sad, Serbia
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
Thank you a lot... It works now...
 
  


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
Audacity: recording from external source jittery linmix Linux - Software 4 05-23-2005 05:12 PM
Build Slackware from source? hrp2171 Slackware 1 09-07-2004 12:31 PM
where is linux source build directory/kernel source tree? webazoid Linux - Software 2 07-01-2004 08:37 PM
build 2.1AS from source hlfedora Red Hat 1 05-27-2004 04:16 PM
how to build a firefox from source? Xuer Linux - Newbie 1 02-10-2004 09:04 AM


All times are GMT -5. The time now is 07:37 PM.

Main Menu
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