Click to See Complete Forum and Search --> : Compile error with Blackbox


IRQ5
01-24-2003, 12:28 AM
Hi. I'm running Caldera OpenLinux 2.3 with KDE 1.1.1 (hey, it's all I had handy and probably all my old IBM would run - and that's a 100Mhz Pentium, 30 megs memory, 812 meg hard drive - which let me try out Linux without having to mess with Windows XP on the Hewlett-Packard) and I got it installed okay. It even runs KDE - a bit sluggishly, but about as fast as XP. Still, I was interested in ditching the "environment" for some window managers and managed to get ratpoison installed. (I doubt I did it right at all but it runs.) Ratpoison is very cool but I'm not sure I would want to run it all the time. Anyway, I did have to install an extra package of libraries to make it compile (I so suck - can't even remember what package I installed - I just got lucky coming across a post that mentioned a package I happened to have, and plugged it in). So I was looking into blackbox and I get this when I try to
compile:

creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.

Can gcc compile C and C++? But it needs some kind of C++ library to compile blackbox? Or do I need a different compiler, or what? I've only got 115 megs left on the hard drive so I can't be pouring much else in. Not that I need room for personal files as yet, but I learn best by doing and breaking and trying to fix, so I do need room to break stuff. ;)

This is Linux day 8 after a few years of fairly casual DOS and Windows use and I'm used to simply unzipping .zips and executing .exe's. Ratpoison was the first thing I ever compiled. So I don't know what to make of the messages. Any help would be much appreciated. Linux is as much a blast as it is frustrating and it's very frustrating. *g*

IRQ5
01-24-2003, 05:32 AM
:confused:

TCaptain70
01-24-2003, 11:42 AM
I'm not %100 on this because I usually install the full development packages when I do an install (I like to tinker and I'm trying to unrustify my C++ skills) but...

I believe that g++ is a seperate package/add-on to gcc that is used for C++ compiling. Look at the CDs for your distro and there should be some packages for that. Install them and try again.

I'm not familiar with Caldera, only with Mandrake, RH and Slack a little bit, so I don't know what packaging system it uses..

IRQ5
01-25-2003, 07:23 AM
Thank you, thank you. I wasn't sure what to look for - if it was libraries, the compiler itself, or what. And I'd have thought I needed a .cpp file or something, if anything. But there were two gcc packages after all. I was about ready to reinstall with the "developers workstation" install rather than the "standard" - don't have enough room on my old hard drive for the "full". What kind of "standard" installation doesn't let me compile C++ apps? Anyway - yeah, this is an old Caldera that uses KPackage with the KDE desktop and .rpms.

Something still isn't right because fluxbox and openbox crashed and burned during "make" but blackbox is up and I think I'm in love. One freaking small, sharply drawn, metallic toolbar on the center-bottom of my desktop and a fully configurable context menu that comes up when I want it and gets the hell out of my way when I'm done. Thanks again. :)