Kdevelop & HP-UX

Showgan, Haroon haroon.showgan at intel.com
Wed Dec 8 11:40:41 GMT 1999


can any one make binaries of kdevelop for hp_ux 10.20 ? or make the source
code compile on it ?
when i try to compile it, i get errors like:
1)
can't find dlfcn.h

i solve this by: cp kdlgloader/kdlgloader.h  kdevelop/kdlgedit/kdlgloader.h
because i looked into these two files:
	in kdlgloader/kdlgloader.h:
		#if hpux
		#include <dl.h>
		inline const char *dlerror()
		{
		        return "No dlerror() for HPUX";
		}

		#else
		#include <dlfcn.h>
		#endif


	in kdevelop/kdlgedit/kdlgloader.h:
		#include <dlfcn.h>

2)
libtool: link: warning: this platform does not like uninstalled shared
libraries
libtool: link: `kdevelop' will be relinked during installation
collect2: ld returned 1 exit status
/usr/ccs/bin/ld: Can't find library for -ldl
make[3]: *** [kdevelop] Error 1

i found libdl.a at /opt/graphics/common/lib
so i used it.

3) i  get the following at the end of make:
*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

4) when i try to run it (after make install), i get this:
Xlib: client uses different protocol version (11) than server (0)!
kdevelop: cannot connect to X server ilsnt0309:0.0

notice:
i have kde 1.1.2 (i have two version, binaries for hp-ux 10.20, and source
files that i have managed to compile them with some problems).

Thanks,
Haroon.






More information about the KDevelop mailing list