LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Audacity source build (https://www.linuxquestions.org/questions/slackware-14/audacity-source-build-492306/)

PCPbSlack 10-14-2006 06:04 AM

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 :confused:

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.:study:

Thank you

zekthedeadcow 10-14-2006 10:12 AM

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...

osor 10-14-2006 01:32 PM

When stuff like this happens, try deleting configure and running aclocal or autoconf.

piete 10-14-2006 07:47 PM

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.

PCPbSlack 10-16-2006 04:09 AM

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!

Alien Bob 10-16-2006 06:00 AM

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

PCPbSlack 10-16-2006 06:54 AM

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! :)

hoodooman 10-16-2006 07:18 AM

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 :confused:

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.:study:

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.

PCPbSlack 10-18-2006 03:13 AM

The gcc version is 3.4.6

del-boy 10-29-2006 09:29 AM

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...

vharishankar 10-29-2006 10:23 AM

Audacity requires wxGTK and not plain X11 wxWidgets. (yes, there are different variants of the wxWidgets library)

del-boy 10-29-2006 08:54 PM

Thank you a lot... It works now...


All times are GMT -5. The time now is 03:09 AM.