Hi, I'm trying to compile Linux DC++ (
http://linuxdcpp.berlios.de/articles.php?um=index ) in OpenBSD 4.1
(i386). I know that porting work must be done in -current, but I
wanted to get this program working now, cause I use it to chat with
friends; and the in-tree alternative (Valknut) sucks.

The first problem was the outdated g++ in base:

scons: Reading SConscript files ...
Checking for g++ >= 3.4...(cached) no
Compiler version check failed. g++ 3.4 or later is needed

After installing a newer g++ from packages and export
CXX=/usr/local/bin/eg++ scons did locate g++, but now it shows
problems with other paths:

scons: Reading SConscript files ...
Checking for /usr/local/bin/eg++ >= 3.4...(cached) yes
Checking for pkg-config... (cached) yes
Checking for gtk+-2.0 >= 2.6... (cached) yes
Checking for gthread-2.0 >= 2.4... (cached) yes
Checking for libglade-2.0 >= 2.4... (cached) yes
Checking for C header file time.h... (cached) yes
Checking for C header file signal.h... (cached) yes
Checking for C header file unistd.h... (cached) yes
Checking for main() in C library pthread... (cached) yes
Checking for main() in C library z... (cached) yes
Checking for main() in C library bz2... no
        bz2 library (bz2 compression) not found
        Note: You might have the lib but not the headers

Note that I do have installed bzip2.

I tried: export CXXFLAGS='-I/usr/local/include' and export
LDFLAGS='-L/usr/local/lib', but they didn't help. The weird thing is
that GTK+ and bzip2 share the header path; so I don't know what might
be happening :S

Hope you lend me a hand, greetings.

Reply via email to