Re: compiling

From: Moonlit (news)
Date: 04/22/04


Date: Thu, 22 Apr 2004 21:31:05 +0200

Hi,

"jimofadel" <me@isp.net> wrote in message
news:4083704d_2@corp.newsgroups.com...
> As a newbie, in about 5 tries I have yet to be able to successfully
> compile an application from source files because I always get error
> messages saying that there are dependencies on files that are not found
> on my machine. I then do a google search for those files, and am
> referred to download sites, but when I download the indicated
> applications or files, I find that there are now other files that are
> missing, and some of them I cannot find. I would like to have someone
> make suggestions for a tutorial or other resource on downloading source
> code and compiling applications.
> I have used RPM files with success in most cases, but some
> applications of interest do not have RPM packages.
> Thanks.
> jk
Yes, unfortunately that is something that makes linux different in
comparisson with for instance MS-Windows. It is due to the fact that
everyone creates a little part of the OS. I am since a week running the
latest kernel, latest XServer, Gnome desktop and the Gimp. My first goal was
only to install the latest gimp, but that asked for other packages and those
for other etc.etc, after loading package after package and doing a
./configure make too many times (well actually for all the gnome packages I
decided to write a script, but there also seems to be garnome or something
which I found out too late).

Actually I sort of find it a miracle that everything seems to run fine and
even completely stable (this because I sometimes had to edit headers for
instance 'where is that bloody /usr/include/stdarg.h header have run of too'
while compiling the latest kernel with gcc 3.3).

I can use all my favorite programs Gimp, Blender, Dosbox (with sound
yesss!!) Wine, and mozilla.

I have used linux as router/firewall/dialin machine for a long time but
never seriously as a 'desktop user'. But despite the difficulties I now boot
into linux as often as I do in MS-Windows not because I want to use linux
but because it does things unix can't (run gimp stable with a wacom board,
run old games in dosbox without the installation installing old libraries in
my windows dir) and it is handy to have gimp and blender on the same OS.

In short just use an out of the box system (with an out of the box
experience), recommended!, saves you a headache or just keep installing and
compiling, Unfortunately some packages give errors so knowledge about
libraries, ldconfig, and configure as well as some C mostly (maybe ++)
knowledge might be required to continue.

Regards, Ron AF Greve

http://moonlit.xs4all.nl

PS: Some things I did
    Just look at error messages and do the most simple thing to solve them
(sometimes it works sometimes not).

stdarg.h Do you have an old install of gcc then use a 'find . -name
stdarg.h' and copy that file to /usr/include
                This one baffled me, after copying stdarg.h to /usr/include
the compiler still can't find it?? So I replaced the
                the include's in the kernel to '#include
</usr/include/stdarg.h' that made the kernel compile fine.
PKG_CONFIG stuff: Found this but pkg-config reported that and that kind of
stuff. Be a pig and use ./configure --prefix=/usr on your gnome files.
            Still problems compiling the gnome packages first download the
right version (or the latest as I did) of the libraries it complains about.
Then when it still complains move all older libraries and links to /attic
(create that directory first, so you can move the files back if something
goes wrong).
Run ldconfig to create new links etc after installing a library.
At some point a package reported a macro should be inserted. Look at the
header file it reports and insert the stuff it reports (basically do as it
says). I believe this was in some of the font package (fontconfig xft or
something).

And note with all this there is a good chance that your system won't boot
anymore. If you have got grub or lilo WITH a timeout you can try
kernel=<Your kernel> init=/bin/sh
to go to runlevel 1 then remount everything rewrite (if forgot the exact
parameters so look them up BEFORE you ruin your system :-) )

In the end you might win (or commit suicide ;-) )

Hope this is useful for someone out there.

>
>
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----== Over 100,000 Newsgroups - 19 Different Servers! =-----



Relevant Pages

  • Re: Help needed to install blender on AMD 64, libSDL-1.2.so.0 not found error
    ... > Bot packages are Core packages. ... Blender is 32-bit only, which means you will need to have the *32-bit* ... versions of the mentioned libraries. ... I don't remember if that was needed to run it, or for compiling (I ...
    (Fedora)
  • Re: Fun with Partition Tables and Zeros!!!
    ... > Peter T. Breuer shot back with: ... because libraries are not looked up via the path. ... >> If you are installing, ... >> If you are compiling, ...
    (comp.os.linux.setup)
  • Re: Desktop Collaboration
    ... > projects related to desktop development into a single project, ... the ability to select to include KDE and Gnome ... > binaries, libraries, etc. to make those packages run, in addition to ... a choise exists when compiling a program. ...
    (alt.os.linux)
  • Re: Getting started with FreeBSD
    ... complaining about compiling stuff, but you probably used ... You can get it going by installing the `bin' collection of packages from ... You can always install portsnap and portupgrade. ... The second tool can upgrade your installed `ports and packages', ...
    (freebsd-questions)
  • Re: Looking for DCOM replacement
    ... This allowed compiling both packages and installing the design time one. ...
    (borland.public.delphi.thirdpartytools.general)