Eee PC compile

10 Messages Forum Options Options
Embed this topic
Permalink
Martyn Shaw-2
Eee PC compile
Reply Threaded MoreMore options
Print post
Permalink
Hi there

Just trying my first compile of Audacity on a Linux machine - an Asus
Eee PC which I borrowed - it's very small!  Please be patient, I think
this is the first time I've compiled a program under unix since 1985!

After using 'apt-get install build-essential' and 'apt-get install
libgtk2.0-dev', amongst others, I compiled wx, and thought I was
getting on OK.

I am now doing
./configure && make
in the audacity directory and it says
"configure: error: "Could not find wx-config:is wxWidgets installed?
is wx-config in your path?""

Maybe I don't have my path set correctly(?)

/home/user/wxWidgets-2.8.8> ls -l wx-* gives
lrwxrwxrwx 1 user user 43 2008-09-02 00:49 wxconfig ->
lib/wx/config/inplace-gtk2-ansi-release-2.8

+ two other files.

So any ideas about where I should go next, other than to bed?

I thought it would be an interesting idea to use this as a mobile
development environment, although it ain't very quick it is quite light!

TTFN
Martyn

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
audacity-devel mailing list
audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Markus Meyer
Re: Eee PC compile
Reply Threaded MoreMore options
Print post
Permalink
Martyn,

first, there really should be an up-to-date wxWidgets package available
using apt-get. Just use "apt-cache search" or synaptic to search for
"wx", "libwx" or similar.

If it really is not (I can't imagine), did you do "sudo make install"
during wx install? If yes, it should automatically install wx-config
into /usr/local, so it will be in your path.


Markus

Martyn Shaw schrieb:

> Hi there
>
> Just trying my first compile of Audacity on a Linux machine - an Asus
> Eee PC which I borrowed - it's very small!  Please be patient, I think
> this is the first time I've compiled a program under unix since 1985!
>
> After using 'apt-get install build-essential' and 'apt-get install
> libgtk2.0-dev', amongst others, I compiled wx, and thought I was
> getting on OK.
>
> I am now doing
> ./configure && make
> in the audacity directory and it says
> "configure: error: "Could not find wx-config:is wxWidgets installed?
> is wx-config in your path?""
>
> Maybe I don't have my path set correctly(?)
>
> /home/user/wxWidgets-2.8.8> ls -l wx-* gives
> lrwxrwxrwx 1 user user 43 2008-09-02 00:49 wxconfig ->
> lib/wx/config/inplace-gtk2-ansi-release-2.8
>
> + two other files.
>
> So any ideas about where I should go next, other than to bed?
>
> I thought it would be an interesting idea to use this as a mobile
> development environment, although it ain't very quick it is quite light!
>
> TTFN
> Martyn
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> audacity-devel mailing list
> audacity-devel@...
> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>  


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
audacity-devel mailing list
audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Martyn Shaw-2
Re: Eee PC compile
Reply Threaded MoreMore options
Print post
Permalink
Thanks Marcus

I couldn't find a unicode version of wx with apt-get (but I am a
novice at this) so I did the 'sudo make install' at got the downloaded
one working.

I also had to install bison as yacc wasn't found.

Now I having trouble in the 'link' phase, I think.  I'm getting 100s
of messages like
undefined reference to 'wxString::BeforeFirst(wchar_t) const'
and probably every other string thing in Audacity.  I'm guessing it's
to do with the unicode thing, so I'm going to have another go.

TTFN
Martyn

2008/9/2 Markus Meyer <meyer@...>:

> Martyn,
>
> first, there really should be an up-to-date wxWidgets package available
> using apt-get. Just use "apt-cache search" or synaptic to search for "wx",
> "libwx" or similar.
>
> If it really is not (I can't imagine), did you do "sudo make install" during
> wx install? If yes, it should automatically install wx-config into
> /usr/local, so it will be in your path.
>
>
> Markus
>
> Martyn Shaw schrieb:
>>
>> Hi there
>>
>> Just trying my first compile of Audacity on a Linux machine - an Asus Eee
>> PC which I borrowed - it's very small!  Please be patient, I think this is
>> the first time I've compiled a program under unix since 1985!
>>
>> After using 'apt-get install build-essential' and 'apt-get install
>> libgtk2.0-dev', amongst others, I compiled wx, and thought I was getting on
>> OK.
>>
>> I am now doing
>> ./configure && make
>> in the audacity directory and it says
>> "configure: error: "Could not find wx-config:is wxWidgets installed? is
>> wx-config in your path?""
>>
>> Maybe I don't have my path set correctly(?)
>>
>> /home/user/wxWidgets-2.8.8> ls -l wx-* gives
>> lrwxrwxrwx 1 user user 43 2008-09-02 00:49 wxconfig ->
>> lib/wx/config/inplace-gtk2-ansi-release-2.8
>>
>> + two other files.
>>
>> So any ideas about where I should go next, other than to bed?
>>
>> I thought it would be an interesting idea to use this as a mobile
>> development environment, although it ain't very quick it is quite light!
>>
>> TTFN
>> Martyn
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> audacity-devel mailing list
>> audacity-devel@...
>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>>
>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
audacity-devel mailing list
audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Martyn Shaw-2
Re: Eee PC compile / wx linking problem
Reply Threaded MoreMore options
Print post
Permalink
I'm still having problems with this, with wxString stuff and
linking (as other appear to be?).  Maybe the instructions are
incorrect?   I don't know.  I've followed the wiki
CompilingAudacityForBeginners page as closely as I could, I think,
given that I'm going for the HEAD version.

I'm now using a version of wx that I got from apt-get (libgtk2.0-dev)
that appears to be ansi, not unicode.  Please correct me if I'm wrong,
but current Audacity ./configure defaults to unicode?  I've tried
./configure --disable-unicode but that didn't help a lot, although the
'make 2> errs' file was only 107k instead of 191k.  First 50 lines
copied below, in case anybody wants to look at it.  I've run out of ideas.

What can I try next?
Martyn

AboutDialog.o: In function
`AboutDialog::PopulateAudacityPage(ShuttleGui&)':
AboutDialog.cpp:(.text+0x337b): undefined reference to
`wxString::Format(wchar_t const*, ...)'
AboutDialog.cpp:(.text+0x33dc): undefined reference to
`wxString::Format(wchar_t const*, ...)'
AboutDialog.cpp:(.text+0x3430): undefined reference to
`operator+(wchar_t const*, wxString const&)'
AboutDialog.cpp:(.text+0x344d): undefined reference to
`operator+(wxString const&, wchar_t const*)'
AboutDialog.cpp:(.text+0x346a): undefined reference to
`operator+(wxString const&, wchar_t const*)'
AboutDialog.cpp:(.text+0x3487): undefined reference to
`operator+(wxString const&, wchar_t const*)'
AboutDialog.cpp:(.text+0x34c3): undefined reference to
`operator+(wxString const&, wchar_t const*)'
AboutDialog.cpp:(.text+0x34ff): undefined reference to
`operator+(wxString const&, wchar_t const*)'
AboutDialog.o:AboutDialog.cpp:(.text+0x351e): more undefined
references to `operator+(wxString const&, wchar_t const*)' follow
AboutDialog.o: In function `wxStringBase::wxStringBase(wchar_t const*)':
AboutDialog.cpp:(.text._ZN12wxStringBaseC2EPKw[wxStringBase::wxStringBase(wchar_t
const*)]+0x25): undefined reference to `wxStringBase::InitWith(wchar_t
const*, unsigned int, unsigned int)'
AboutDialog.o: In function `wxStringBase::ConcatSelf(unsigned int,
wchar_t const*)':
AboutDialog.cpp:(.text._ZN12wxStringBase10ConcatSelfEjPKw[wxStringBase::ConcatSelf(unsigned
int, wchar_t const*)]+0x22): undefined reference to
`wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
AboutDialog.o: In function `operator==(wxString const&, wchar_t const*)':
AboutDialog.cpp:(.text._ZeqRK8wxStringPKw[operator==(wxString const&,
wchar_t const*)]+0x14): undefined reference to `wxString::Cmp(wchar_t
const*) const'
AboutDialog.o: In function `operator!=(wchar_t const*, wxString const&)':
AboutDialog.cpp:(.text._ZnePKwRK8wxString[operator!=(wchar_t const*,
wxString const&)]+0x14): undefined reference to `wxString::Cmp(wchar_t
const*) const'
AboutDialog.o: In function `wxString::operator=(wchar_t const*)':
AboutDialog.cpp:(.text._ZN8wxStringaSEPKw[wxString::operator=(wchar_t
const*)]+0x14): undefined reference to
`wxStringBase::operator=(wchar_t const*)'
AboutDialog.o:(.rodata._ZTV11AboutDialog[vtable for
AboutDialog]+0x264): undefined reference to
`wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
AboutDialog.o:(.rodata._ZTV12wxButtonBase[vtable for
wxButtonBase]+0x264): undefined reference to
`wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
AudacityApp.o: In function `AudacityApp::FindFilesInPathList(wxString,
wxArrayString, int, wxArrayString&)':
AudacityApp.cpp:(.text+0xaac): undefined reference to
`operator+(wxString const&, wchar_t)'
AudacityApp.o: In function
`AudacityApp::AddMultiPathsToPathList(wxString, wxArrayString&)':
AudacityApp.cpp:(.text+0xe47): undefined reference to
`wxString::BeforeFirst(wchar_t) const'
AudacityApp.cpp:(.text+0xe65): undefined reference to
`wxString::AfterFirst(wchar_t) const'
AudacityApp.o: In function `AudacityApp::PrintCommandLineHelp()':
AudacityApp.cpp:(.text+0xfe5): undefined reference to
`wxPrintf(wchar_t const*, ...)'
AudacityApp.o: In function
`AudacityApp::CreateSingleInstanceChecker(wxString)':
AudacityApp.cpp:(.text+0x1033): undefined reference to
`wxString::Format(wchar_t const*, ...)'
AudacityApp.cpp:(.text+0x1130): undefined reference to
`operator+(wchar_t const*, wxString const&)'
AudacityApp.cpp:(.text+0x114c): undefined reference to
`operator+(wxString const&, wchar_t const*)'
AudacityApp.cpp:(.text+0x12c4): undefined reference to
`operator+(wchar_t const*, wxString const&)'
AudacityApp.cpp:(.text+0x12e0): undefined reference to
`operator+(wxString const&, wchar_t const*)'
AudacityApp.o: In function `AudacityApp::InitTempDir()':
AudacityApp.cpp:(.text+0x15a4): undefined reference to
`wxDirExists(wchar_t const*)'
AudacityApp.cpp:(.text+0x1645): undefined reference to
`wxDirExists(wchar_t const*)'
AudacityApp.o: In function `AudacityApp::InitCleanSpeech()':
AudacityApp.cpp:(.text+0x1d01): undefined reference to
`wxDirExists(wchar_t const*)'
AudacityApp.cpp:(.text+0x1d99): undefined reference to
`wxDirExists(wchar_t const*)'
AudacityApp.o: In function `AudacityApp::InitLang(wxString const&)':
AudacityApp.cpp:(.text+0x2116): undefined reference to
`wxLocale::AddCatalog(wchar_t const*)'
AudacityApp.o: In function `AudacityApp::MRUOpen(wxString)':
AudacityApp.cpp:(.text+0x2192): undefined reference to
`wxFile::Exists(wchar_t const*)'
AudacityApp.cpp:(.text+0x23a9): undefined reference to
`wxString::Format(wchar_t const*, ...)'
AudacityApp.cpp:(.text+0x26af): undefined reference to
`wxString::Format(wchar_t const*, ...)'
AudacityApp.o: In function `AudacityApp::OnInit()':
AudacityApp.cpp:(.text+0x2c60): undefined reference to
`wxString::Printf(wchar_t const*, ...)'
AudacityApp.cpp:(.text+0x2c77): undefined reference to
`wxGetenv(wchar_t const*)'

Martyn Shaw wrote:

> Thanks Marcus
>
> I couldn't find a unicode version of wx with apt-get (but I am a
> novice at this) so I did the 'sudo make install' at got the downloaded
> one working.
>
> I also had to install bison as yacc wasn't found.
>
> Now I having trouble in the 'link' phase, I think.  I'm getting 100s
> of messages like
> undefined reference to 'wxString::BeforeFirst(wchar_t) const'
> and probably every other string thing in Audacity.  I'm guessing it's
> to do with the unicode thing, so I'm going to have another go.
>
> TTFN
> Martyn
>
> 2008/9/2 Markus Meyer <meyer@...>:
>> Martyn,
>>
>> first, there really should be an up-to-date wxWidgets package available
>> using apt-get. Just use "apt-cache search" or synaptic to search for "wx",
>> "libwx" or similar.
>>
>> If it really is not (I can't imagine), did you do "sudo make install" during
>> wx install? If yes, it should automatically install wx-config into
>> /usr/local, so it will be in your path.
>>
>>
>> Markus
>>
>> Martyn Shaw schrieb:
>>> Hi there
>>>
>>> Just trying my first compile of Audacity on a Linux machine - an Asus Eee
>>> PC which I borrowed - it's very small!  Please be patient, I think this is
>>> the first time I've compiled a program under unix since 1985!
>>>
>>> After using 'apt-get install build-essential' and 'apt-get install
>>> libgtk2.0-dev', amongst others, I compiled wx, and thought I was getting on
>>> OK.
>>>
>>> I am now doing
>>> ./configure && make
>>> in the audacity directory and it says
>>> "configure: error: "Could not find wx-config:is wxWidgets installed? is
>>> wx-config in your path?""
>>>
>>> Maybe I don't have my path set correctly(?)
>>>
>>> /home/user/wxWidgets-2.8.8> ls -l wx-* gives
>>> lrwxrwxrwx 1 user user 43 2008-09-02 00:49 wxconfig ->
>>> lib/wx/config/inplace-gtk2-ansi-release-2.8
>>>
>>> + two other files.
>>>
>>> So any ideas about where I should go next, other than to bed?
>>>
>>> I thought it would be an interesting idea to use this as a mobile
>>> development environment, although it ain't very quick it is quite light!
>>>
>>> TTFN
>>> Martyn
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> audacity-devel mailing list
>>> audacity-devel@...
>>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>>>
>>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
audacity-devel mailing list
audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Martyn Shaw-2
Re: Eee PC compile
Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Martyn Shaw-2
Success!  I now have HEAD compiled and running on a 4G EEE PC!  Can I
claim a Xandros 'first' for that?  I'd post a screenshot, but I don't
know how to with this micro-box.

We have to ask ourselves the question 'do we want to support this
device?', and I'm not sure I want to spend hours in front of an
83%-sized keyboard, 800x480 display, limited resources, long compile
time, on an OS I'm not that familar with.  But maybe it's a worthy
aim?  Cheap netbooks for all would need an audio app?

It runs, plays, records etc, but it's not without it's problems.
Initial ones below, I'm sure there are more, but at least it goes...

I'm getting the 'Audacity First Run' dialog up every time at the
moment, 'OK' on that and I get an 'Error Importing' dialog (did not
recognise the type of this file) quickly followed by a 'Failed to load
libraries altogether' FFmpeg dialog over the top.  (And the
'Welcome...' dialog is there somewhere as well).  The error items
appear in the 'alt tab' list but not in the bar at the bottom of the
screen, that item there takes me to the 'Welcome' dialog where the
button is not active.  Clearing those in the right order gives me a
working Audacity.

The screen on this machine is only 800 x 480 (I think) and this really
shows.  Even with the transcription toolbar turned off there isn't
much space left for the tracks.  And I'm seeing 'Project Rate (Hz)'
going to a second line for the '(Hz)' which doesn't help.  Some other
apps on this device use F11 to lose the title bar and bar at the
bottom - that would be useful.

The preferences panel is almost unusable, being too wide to read the
text and too tall to get to the buttons.  You can tab around, but it's
pretty much guess work.

In the EQ the sliders behave strangely, being stuck at the top to start with.

I've got to go but...

For the record, this is what I did (as far as I can remember):
Reset the machine to factory settings (F9 on bootup).
Used Synaptic to install Build-Essentials, cvs, bison, pkg-config &
libgtk2.0-dev (noting that I added some things to
/etc/apt/sources.list, and
http://wiki.eeeuser.com/howto:unable_to_tparse and post #17 on
http://forum.eeeuser.com/viewtopic.php?id=3025).

Then I pretty much followed
http://audacityteam.org/wiki/index.php?title=CompilingAudacityForBeginners
but got wx 2.8.8 and configured --enable-unicode --enable-debug
I note that the library gets installed in /usr/local/lib but setting
the PATH to look there doesn't work on the eee, you have to 'export
LD_LIBRARY_PATH="/usr/local/lib"' or you get a runtime error -
somebody else may well have a better solution.  wx-config --version
worked, but audacity couldn't find the library.  Also 'make clean'
when you are done checking wx frees up much-needed disk space (there
isn't a lot here!).

I used
cvs -d:pserver:anonymous@...:/cvsroot/audacity
checkout audacity
to get the latest version.

Everything else went just fine (eventually).

So I got there (which is a *nix first for me), but there's still a lot o go at.

TTFN
Martyn

PS apols for typos, I don't hve 83% fingers!

2008/9/2 Martyn Shaw <martynshaw99@...>:

> Thanks Marcus
>
> I couldn't find a unicode version of wx with apt-get (but I am a
> novice at this) so I did the 'sudo make install' at got the downloaded
> one working.
>
> I also had to install bison as yacc wasn't found.
>
> Now I having trouble in the 'link' phase, I think.  I'm getting 100s
> of messages like
> undefined reference to 'wxString::BeforeFirst(wchar_t) const'
> and probably every other string thing in Audacity.  I'm guessing it's
> to do with the unicode thing, so I'm going to have another go.
>
> TTFN
> Martyn
>
> 2008/9/2 Markus Meyer <meyer@...>:
>> Martyn,
>>
>> first, there really should be an up-to-date wxWidgets package available
>> using apt-get. Just use "apt-cache search" or synaptic to search for "wx",
>> "libwx" or similar.
>>
>> If it really is not (I can't imagine), did you do "sudo make install" during
>> wx install? If yes, it should automatically install wx-config into
>> /usr/local, so it will be in your path.
>>
>>
>> Markus
>>
>> Martyn Shaw schrieb:
>>>
>>> Hi there
>>>
>>> Just trying my first compile of Audacity on a Linux machine - an Asus Eee
>>> PC which I borrowed - it's very small!  Please be patient, I think this is
>>> the first time I've compiled a program under unix since 1985!
>>>
>>> After using 'apt-get install build-essential' and 'apt-get install
>>> libgtk2.0-dev', amongst others, I compiled wx, and thought I was getting on
>>> OK.
>>>
>>> I am now doing
>>> ./configure && make
>>> in the audacity directory and it says
>>> "configure: error: "Could not find wx-config:is wxWidgets installed? is
>>> wx-config in your path?""
>>>
>>> Maybe I don't have my path set correctly(?)
>>>
>>> /home/user/wxWidgets-2.8.8> ls -l wx-* gives
>>> lrwxrwxrwx 1 user user 43 2008-09-02 00:49 wxconfig ->
>>> lib/wx/config/inplace-gtk2-ansi-release-2.8
>>>
>>> + two other files.
>>>
>>> So any ideas about where I should go next, other than to bed?
>>>
>>> I thought it would be an interesting idea to use this as a mobile
>>> development environment, although it ain't very quick it is quite light!
>>>
>>> TTFN
>>> Martyn
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> audacity-devel mailing list
>>> audacity-devel@...
>>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>>>
>>
>>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
audacity-devel mailing list
audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Leigh Morresi
Re: Eee PC compile
Reply Threaded MoreMore options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
if you are travelling(backpacking) and you want to master some live sounds on the fly, you could just take your EEE PC, a couple of USB keys and a good set of mic's..


On Thu, 2008-09-11 at 01:35 +0100, Martyn Shaw wrote:
Success!  I now have HEAD compiled and running on a 4G EEE PC!  Can I
claim a Xandros 'first' for that?  I'd post a screenshot, but I don't
know how to with this micro-box.

We have to ask ourselves the question 'do we want to support this
device?', and I'm not sure I want to spend hours in front of an
83%-sized keyboard, 800x480 display, limited resources, long compile
time, on an OS I'm not that familar with.  But maybe it's a worthy
aim?  Cheap netbooks for all would need an audio app?

It runs, plays, records etc, but it's not without it's problems.
Initial ones below, I'm sure there are more, but at least it goes...

I'm getting the 'Audacity First Run' dialog up every time at the
moment, 'OK' on that and I get an 'Error Importing' dialog (did not
recognise the type of this file) quickly followed by a 'Failed to load
libraries altogether' FFmpeg dialog over the top.  (And the
'Welcome...' dialog is there somewhere as well).  The error items
appear in the 'alt tab' list but not in the bar at the bottom of the
screen, that item there takes me to the 'Welcome' dialog where the
button is not active.  Clearing those in the right order gives me a
working Audacity.

The screen on this machine is only 800 x 480 (I think) and this really
shows.  Even with the transcription toolbar turned off there isn't
much space left for the tracks.  And I'm seeing 'Project Rate (Hz)'
going to a second line for the '(Hz)' which doesn't help.  Some other
apps on this device use F11 to lose the title bar and bar at the
bottom - that would be useful.

The preferences panel is almost unusable, being too wide to read the
text and too tall to get to the buttons.  You can tab around, but it's
pretty much guess work.

In the EQ the sliders behave strangely, being stuck at the top to start with.

I've got to go but...

For the record, this is what I did (as far as I can remember):
Reset the machine to factory settings (F9 on bootup).
Used Synaptic to install Build-Essentials, cvs, bison, pkg-config &
libgtk2.0-dev (noting that I added some things to
/etc/apt/sources.list, and
http://wiki.eeeuser.com/howto:unable_to_tparse and post #17 on
http://forum.eeeuser.com/viewtopic.php?id=3025).

Then I pretty much followed
http://audacityteam.org/wiki/index.php?title=CompilingAudacityForBeginners
but got wx 2.8.8 and configured --enable-unicode --enable-debug
I note that the library gets installed in /usr/local/lib but setting
the PATH to look there doesn't work on the eee, you have to 'export
LD_LIBRARY_PATH="/usr/local/lib"' or you get a runtime error -
somebody else may well have a better solution.  wx-config --version
worked, but audacity couldn't find the library.  Also 'make clean'
when you are done checking wx frees up much-needed disk space (there
isn't a lot here!).

I used
cvs -d:pserver:anonymous@...:/cvsroot/audacity
checkout audacity
to get the latest version.

Everything else went just fine (eventually).

So I got there (which is a *nix first for me), but there's still a lot o go at.

TTFN
Martyn

PS apols for typos, I don't hve 83% fingers!

2008/9/2 Martyn Shaw <martynshaw99@...>:
> Thanks Marcus
>
> I couldn't find a unicode version of wx with apt-get (but I am a
> novice at this) so I did the 'sudo make install' at got the downloaded
> one working.
>
> I also had to install bison as yacc wasn't found.
>
> Now I having trouble in the 'link' phase, I think.  I'm getting 100s
> of messages like
> undefined reference to 'wxString::BeforeFirst(wchar_t) const'
> and probably every other string thing in Audacity.  I'm guessing it's
> to do with the unicode thing, so I'm going to have another go.
>
> TTFN
> Martyn
>
> 2008/9/2 Markus Meyer <meyer@...>:
>> Martyn,
>>
>> first, there really should be an up-to-date wxWidgets package available
>> using apt-get. Just use "apt-cache search" or synaptic to search for "wx",
>> "libwx" or similar.
>>
>> If it really is not (I can't imagine), did you do "sudo make install" during
>> wx install? If yes, it should automatically install wx-config into
>> /usr/local, so it will be in your path.
>>
>>
>> Markus
>>
>> Martyn Shaw schrieb:
>>>
>>> Hi there
>>>
>>> Just trying my first compile of Audacity on a Linux machine - an Asus Eee
>>> PC which I borrowed - it's very small!  Please be patient, I think this is
>>> the first time I've compiled a program under unix since 1985!
>>>
>>> After using 'apt-get install build-essential' and 'apt-get install
>>> libgtk2.0-dev', amongst others, I compiled wx, and thought I was getting on
>>> OK.
>>>
>>> I am now doing
>>> ./configure && make
>>> in the audacity directory and it says
>>> "configure: error: "Could not find wx-config:is wxWidgets installed? is
>>> wx-config in your path?""
>>>
>>> Maybe I don't have my path set correctly(?)
>>>
>>> /home/user/wxWidgets-2.8.8> ls -l wx-* gives
>>> lrwxrwxrwx 1 user user 43 2008-09-02 00:49 wxconfig ->
>>> lib/wx/config/inplace-gtk2-ansi-release-2.8
>>>
>>> + two other files.
>>>
>>> So any ideas about where I should go next, other than to bed?
>>>
>>> I thought it would be an interesting idea to use this as a mobile
>>> development environment, although it ain't very quick it is quite light!
>>>
>>> TTFN
>>> Martyn
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> audacity-devel mailing list
>>> audacity-devel@...
>>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>>>
>>
>>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
audacity-devel mailing list
audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
-- 
Leigh Morresi
+61401883741
dgtlmoon@...
http://dgtlmoon.com
skype: dgtlmoon

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
audacity-devel mailing list
audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Arturo 'Buanzo' Busleiman
Re: Eee PC compile
Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Martyn Shaw-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Martyn Shaw wrote:
> Success!  I now have HEAD compiled and running on a 4G EEE PC!  Can I
> claim a Xandros 'first' for that?  I'd post a screenshot, but I don't
> know how to with this micro-box.

Two words: Digital Camera. :P

- --
Arturo "Buanzo" Busleiman
Independent Linux and Security Consultant - SANS - OISSG - OWASP
http://www.buanzo.com.ar/pro/eng.html
Mailing List Archives at http://archiver.mailfighter.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIyGwqAlpOsGhXcE0RCphUAJ9h/iaSSyPwYOLK7DzkV0M8P2k9lACfTn4v
yl+HM6P3ERqYlpkb4rPr7Hw=
=JWBl
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
audacity-devel mailing list
audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Richard Ash (audacity-help)
Re: Eee PC compile
Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Martyn Shaw-2
On Thu, 2008-09-11 at 01:35 +0100, Martyn Shaw wrote:
> We have to ask ourselves the question 'do we want to support this
> device?', and I'm not sure I want to spend hours in front of an
> 83%-sized keyboard, 800x480 display, limited resources, long compile
> time, on an OS I'm not that familar with.  But maybe it's a worthy
> aim?  Cheap netbooks for all would need an audio app?

I think that this kind of small machine will become a lot more used for
audio in the next few years as flash disks get bigger (more recording
time) and suitable external audio devices show up to make high quality
recordings.

> It runs, plays, records etc, but it's not without it's problems.
> Initial ones below, I'm sure there are more, but at least it goes...
>
> I'm getting the 'Audacity First Run' dialog up every time at the
> moment, 'OK' on that and I get an 'Error Importing' dialog (did not
> recognise the type of this file) quickly followed by a 'Failed to load
> libraries altogether' FFmpeg dialog over the top.  (And the
> 'Welcome...' dialog is there somewhere as well).  The error items
> appear in the 'alt tab' list but not in the bar at the bottom of the
> screen, that item there takes me to the 'Welcome' dialog where the
> button is not active.  Clearing those in the right order gives me a
> working Audacity.
>
> The screen on this machine is only 800 x 480 (I think) and this really
> shows.
I think this (i.e. screen estate) is going to be the critical issue for
a lot of apps, and whilst screens may get a little bigger I wouldn't
anticipate a huge size increase.

>   Even with the transcription toolbar turned off there isn't
> much space left for the tracks.  And I'm seeing 'Project Rate (Hz)'
> going to a second line for the '(Hz)' which doesn't help.  Some other
> apps on this device use F11 to lose the title bar and bar at the
> bottom - that would be useful.
>
> The preferences panel is almost unusable, being too wide to read the
> text and too tall to get to the buttons.  You can tab around, but it's
> pretty much guess work.
Not a solution, but you should find that you can hold down ALT and use
the mouse to drag windows around the screen even when you can't see the
title bar for them, which can make the process of using large
non-scrolled windows easier.

> In the EQ the sliders behave strangely, being stuck at the top to start with.
I'm wondering if this might be a wx bug - the first step might be to put
Xandros on an ordinary desktop machine and see how many of the same
issues show up, except that they don't seem to do a free download
version on their website. A lot of people of course re-install their
EeePC with Ubuntu or whatever, but it would be nice if it worked out of
the box.

> Then I pretty much followed
> http://audacityteam.org/wiki/index.php?title=CompilingAudacityForBeginners
> but got wx 2.8.8 and configured --enable-unicode --enable-debug
> I note that the library gets installed in /usr/local/lib but setting
> the PATH to look there doesn't work on the eee, you have to 'export
> LD_LIBRARY_PATH="/usr/local/lib"' or you get a runtime error -
> somebody else may well have a better solution.  wx-config --version
> worked, but audacity couldn't find the library.

Two separate issues need deal with here. In order for the configure
script to find /usr/local/bin/wx-config you need to alter the PATH
environment variable (which is used to find executables). The problem
when you run audacity is that you need to find the wx shared libraries.
This means altering the shared library path to include the
directory /usr/local/lib/ which contains it. On Linux there is no
relationship between the library and executable search paths, as the two
almost always live in separate directories.

As you say this can be done via the LD_LIBRARY_PATH variable.
Alternatively you can configure this on a system-wide basis by editing
the file /etc/ld.so.conf, which lists system library directories, one
directory per line, and then running ldconfig to rebuild the shared
library cache. On some distributions the file /etc/ld.so.conf is
generated from somewhere else and will contain dire instructions not to
modify it but go there instead, but the effect is the same.

I see this last section is missing from the compiling guide on the wiki,
which also needs to be updated for 1.3 at some point.

Richard


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
audacity-devel mailing list
audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Martyn Shaw-2
Re: Eee PC compile
Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Arturo 'Buanzo' Busleiman
Doh!

http://mjshaw.at-uclan.com/audacity/Eee.jpg

Martyn

Arturo 'Buanzo' Busleiman wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Martyn Shaw wrote:
>> Success!  I now have HEAD compiled and running on a 4G EEE PC!  Can I
>> claim a Xandros 'first' for that?  I'd post a screenshot, but I don't
>> know how to with this micro-box.
>
> Two words: Digital Camera. :P
>
> - --
> Arturo "Buanzo" Busleiman
> Independent Linux and Security Consultant - SANS - OISSG - OWASP
> http://www.buanzo.com.ar/pro/eng.html
> Mailing List Archives at http://archiver.mailfighter.net
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFIyGwqAlpOsGhXcE0RCphUAJ9h/iaSSyPwYOLK7DzkV0M8P2k9lACfTn4v
> yl+HM6P3ERqYlpkb4rPr7Hw=
> =JWBl
> -----END PGP SIGNATURE-----
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> audacity-devel mailing list
> audacity-devel@...
> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
audacity-devel mailing list
audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Leland (Audacity Team)
Re: Eee PC compile
Reply Threaded MoreMore options
Print post
Permalink
Martyn Shaw wrote:
> Doh!
>
> http://mjshaw.at-uclan.com/audacity/Eee.jpg
>
> Martyn
>
Here's one that I built last year:

http://homerow.net/audacity/zaudacity.png

It's running on one of these:

http://www.ibm.com/common/ssi/fcgi-bin/ssialias?infotype=pm&subtype=sp&pdf=yes&appname=STG_ZS_USEN&htmlfid=ZSD01096USEN

(Yes, that's a mainframe, one of those ancient machines that was
supposed to die off years ago.)

Leland

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
audacity-devel mailing list
audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel