[En-Nut-Discussion] Linux GCC Build of ethernut-3.8/3.9 - SuSE 9.3 Problems
Harald Kipp
harald.kipp at egnite.de
Fri May 20 20:46:30 CEST 2005
Hello Grahame,
I'm busy on exactly this topic. I'd not waste any more time
on ethernut-3.9.5, because 3.9.6 moved to wxWidgets 2.6.0.
And from experience with Debian and Fedora (and OS X done by
Evgeni Dobrev, Matthias Ringwald as well as Gentoo by Thomas Drueke),
it is very difficult to get different *nix flavors running
by prepared bin packages. Different lib names and install
directories can make one running totally "Ethernuts".
For now I'd suggest to get Nut/OS from CVS HEAD as well as
autoconf 2.59a and automake1.9 as bin-packages
build wxWidgets from wxGTK-2.6.0.tar.bz2 (configure --disable-shared)
libgtk2.0-dev as a bin-package
doxygen 1.4.2, doxygen-doc 1.4.2 and graphviz 2.2.1 as bin-packages
build Lua from lua-5.0.2.tar.gz
I'd uninstall wxGTK 2.4 and the Lua package first.
Getting Ehternut's CVS HEAD is quite easy on Linux. Follow
http://sourceforge.net/cvs/?group_id=34079
Change to the nut directory and run
$ aclocal
$ autoconf
$ autoheader
$ automake --add-missing
$ ./configure
$ make
# make install
But before have a look at bug #1205835. As a temporary
fix remove tools/crurom/dirent.h and tools/nutconf/dirent.h.
Most packages are available on Debian testing only. Actually
I moved to Sage now, after I spoiled my mixed system.
For Fedora I'm still with Core 3.
I'm sorry for not being able to provide more details right
now, because I'm in the process to sort things out too.
But do not hesitate to post any positive or negative results.
Harald
At 12:01 19.05.2005 +1000, you wrote:
>Hi EtherNuters.
>
>I had my laptop damaged and its disk totally distroyed and hence became the
>perfect reason to upgrade my ethernut system to Harald's newest offering
>release.
>
>Problems is using SuSE 9.3 distro, and compiling from source ethernut-3.9 or
>ethernut 3.8 I create numerous errors - some relating to g++, some to other
>functionality expected to be loaded - liblua50.so.5.0; libpng10,so,0;
>libwx-gtk-2.4.so.0; etc.
>
>To avoid someone doing double work, I read all the group post for the last
>six
>months but I didn't see answers for my particular predictament. I had loaded
>what I assume (not a good to ass-u-me I know) to be the required rpm's/code
>from SuSE 9.3 distro - as follows:
>
>wxGTK-2.5.3.1-5
>wxGTK-devel-2.5.3.1-5
>wxGTK-common-2.4.2-12
>wxGTK-doc-2.5.3.1-3
>wxGTK-compat-2.5.3.1-5
>wxGTK-gl-2.5.3.1-5
>
>lua-devel-5.0.2-3
>lua-5.0.2-3
>
>libpng-1.2.8-3
>libpng-devel-1.2.8-3
>
>/usr/bin/g++ --version
>g++ (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux)
>
>gcc --version
>gcc (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux)
>
>additionally I hunted with google to find if anyother distro had newer or
>better named releases that suited the Ethernut source requirement - Debian
>seems to be the standard but my "deb2rpm" tool didn't work as expected,
>so I reverted back to looking for a rpms.
>
>--- Unfortunately ---
>
>These rpms did't put the required libs in lib cache, myabe they arn't the
>same, resulting in the make of ethernut-3.9 failures. i.e: complains about
>liblua50.so.5.0; libpng10.so.0; libwx-gtk-2.4.so.0; lib-g++.so not being
>available.
>
>Q1>
>Is it that some libraries are the same but have different id:
>i.e: libwx-gtk-2.4.so.0 is the same as libwxGTK-2.4.so.0 ??
>
>Q2>
>I appreciate it is a distro problem probably, but a lot of SuSE users &
>newbies I am associated with have given up trying to get ethernut-3.8 &
>ethernut-3.9 running. The new GTK config screen doesn't get even off the
>ground in some cases. So we have gone back to compiling from source code
>distribution (www.ethernut.de download). Any comments ?
>
>Q3>
>To help others including myself - would someone kindly put on the Ethernut.de
>site what particular rpms are required for each major distro and URL where
>these can be found. Otherwise we will lose people who are very interested in
>using EtherNUT's, but aren't s/w technical enough to figure out the issues
>stopping them getting up and running.
>
>Assuming it is a distro related issue, I will be very happy to work with
>anyone on sorting out these issues. Contact me directly by email cc to this
>list or if you really wish to go VoIP my number is +612-88157113. AEST
>(Australian Eastern Standard Time). Anyone volunteering to assist ?
>
>Standing by:
>-----------------------
>Cheers & Thanks. Grahame
>_______________________________________________
>En-Nut-Discussion mailing list
>En-Nut-Discussion at egnite.de
>http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
More information about the En-Nut-Discussion
mailing list