LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Building Audacity 1.2.6 (https://www.linuxquestions.org/questions/linux-newbie-8/building-audacity-1-2-6-a-679768/)

haroldjclements 10-29-2008 09:38 AM

Building Audacity 1.2.6
 
Hello Forum,

I am fairly new to Linux and have been trying to build “audacity-src-1.2.6” for about 6 hours now. I have the following compiling error:

Code:

tmixer.a libaudacity.a -lFLAC -pthread -lwx_gtk-2.4
/usr/bin/ld: cannot find -lwx_gtk-2.4
collect2: ld returned 1 exit status
make[1]: *** [../audacity] Error 1
make[1]: Leaving directory `/home/clemenh/Desktop/audacity-src-1.2.6/src'
make: *** [audacity] Error 2


I have searched google and have install loads of packages trying to get past this error but to no avail.

If anyone can help me or knows what package I should be installing please let me know.

Thanks in advance,
Harold Clements

H_TeXMeX_H 10-29-2008 10:34 AM

You can't do it, instead use 1.3.6 this one will compile with newer wxwidgets. Make sure you install wxwidgets.

haroldjclements 10-29-2008 11:00 AM

Hello H_TeXMeX_H, thank you very much for your reply.

I will of course try your suggestion. However, in my desperation it would appear that I have messed something else up whilst trying to fix the original problem. Basically, I removed my working directory and started the compilation from scratch. Now I have a new set of errors (extract below) that I am unsure what I have done and how to fix.

Any help on this will be gratefully received.

Harold Clements

Code:

flac.c:719: error: 'FLAC_PRIVATE' has no member named 'ptr'
flac.c: In function 'flac_read_flac2f':
flac.c:736: error: 'FLAC_PRIVATE' has no member named 'pcmtype'
flac.c:739: error: 'FLAC_PRIVATE' has no member named 'ptr'
flac.c: In function 'flac_read_flac2d':
flac.c:756: error: 'FLAC_PRIVATE' has no member named 'pcmtype'
flac.c:759: error: 'FLAC_PRIVATE' has no member named 'ptr'
flac.c: In function 'flac_write_s2flac':
flac.c:776: error: 'FLAC_PRIVATE' has no member named 'encbuffer'
flac.c:798: warning: implicit declaration of function 'FLAC__seekable_stream_encoder_process_interleaved'
flac.c:798: warning: nested extern declaration of 'FLAC__seekable_stream_encoder_process_interleaved'
flac.c:798: error: 'FLAC_PRIVATE' has no member named 'fse'
flac.c: In function 'flac_write_i2flac':
flac.c:818: error: 'FLAC_PRIVATE' has no member named 'encbuffer'
flac.c:840: error: 'FLAC_PRIVATE' has no member named 'fse'
flac.c: In function 'flac_write_f2flac':
flac.c:860: error: 'FLAC_PRIVATE' has no member named 'encbuffer'
flac.c:882: error: 'FLAC_PRIVATE' has no member named 'fse'
flac.c: In function 'flac_write_d2flac':
flac.c:992: error: 'FLAC_PRIVATE' has no member named 'encbuffer'
flac.c:1014: error: 'FLAC_PRIVATE' has no member named 'fse'


haroldjclements 10-29-2008 02:35 PM

Any Suggestions???

Thanks, Harold Clements

H_TeXMeX_H 10-29-2008 03:30 PM

So this is with 1.3.6 ?

haroldjclements 10-29-2008 04:51 PM

Sorry about the confusion, I now have 1.3.6 code on my box, Need less to say I have hit another snag.
Code:

commands/CommandManager.cpp:384: error: ‘GetLabelText’ is not a member of ‘wxMenuItem’
make[1]: *** [commands/CommandManager.o] Error 1
make[1]: Leaving directory `/home/clemenh/Desktop/audacity-src-1.3.6/src'
make: *** [audacity] Error 2

Thanks very much for your help,
Harold Clements

ptemmerman 10-29-2008 05:51 PM

Quote:

Originally Posted by haroldjclements (Post 3325095)
Hello H_TeXMeX_H, thank you very much for your reply.

I will of course try your suggestion. However, in my desperation it would appear that I have messed something else up whilst trying to fix the original problem. Basically, I removed my working directory and started the compilation from scratch. Now I have a new set of errors (extract below) that I am unsure what I have done and how to fix.

Any help on this will be gratefully received.

Harold Clements

Code:

flac.c:719: error: 'FLAC_PRIVATE' has no member named 'ptr'
flac.c: In function 'flac_read_flac2f':
flac.c:736: error: 'FLAC_PRIVATE' has no member named 'pcmtype'
flac.c:739: error: 'FLAC_PRIVATE' has no member named 'ptr'
flac.c: In function 'flac_read_flac2d':
flac.c:756: error: 'FLAC_PRIVATE' has no member named 'pcmtype'
flac.c:759: error: 'FLAC_PRIVATE' has no member named 'ptr'
flac.c: In function 'flac_write_s2flac':
flac.c:776: error: 'FLAC_PRIVATE' has no member named 'encbuffer'
flac.c:798: warning: implicit declaration of function 'FLAC__seekable_stream_encoder_process_interleaved'
flac.c:798: warning: nested extern declaration of 'FLAC__seekable_stream_encoder_process_interleaved'
flac.c:798: error: 'FLAC_PRIVATE' has no member named 'fse'
flac.c: In function 'flac_write_i2flac':
flac.c:818: error: 'FLAC_PRIVATE' has no member named 'encbuffer'
flac.c:840: error: 'FLAC_PRIVATE' has no member named 'fse'
flac.c: In function 'flac_write_f2flac':
flac.c:860: error: 'FLAC_PRIVATE' has no member named 'encbuffer'
flac.c:882: error: 'FLAC_PRIVATE' has no member named 'fse'
flac.c: In function 'flac_write_d2flac':
flac.c:992: error: 'FLAC_PRIVATE' has no member named 'encbuffer'
flac.c:1014: error: 'FLAC_PRIVATE' has no member named 'fse'


Seems to me as if it didn't find a required header file.
Take a good look for previous errors during the configuration. Overlooking config.log might help here.

haroldjclements 10-29-2008 07:10 PM

Thanks for your post ptemmerman

I don't have the FLAC errors anymore. However, I am still stick on my previous post (#6) if anyone could help.

Thanks in advance,
Harold Clements

H_TeXMeX_H 10-30-2008 03:49 AM

What version of wxwidgets do you have installed, it should be a new version of wxGTK.

haroldjclements 10-30-2008 08:18 AM

Thank you for your patience. I am fairly new to Linux and building apps from source code (as you can probably tell)!

In response to your question, I downloaded the latest wxGTK-2.8.9 as source - Please could you confirm that I have followed the correct process for building / installing?

Unzipped wxGTK-2.8.9.tar.gz to my desktop.
$ ./configure This appeared to process correctly without any errors.
$ make The concluded with: “The installation of wxWidgets is finished. On certain platforms (eg Linux) you’ll have to run ldconfig.... ”
$ sudo ldconfig {no screen output}

How do I know if this is installed correctly?

If I now run “./ configure” on audacity I get “No config found to match /usr/local/bin/wx-config ...”

I assume that my build of wxGTK-2.8.9 did not install correctly but I don’t know!

Thanks again for your patience...
Harold Clements


All times are GMT -5. The time now is 03:12 PM.