Operating System - Linux
1825667 Members
4395 Online
109686 Solutions
New Discussion

Re: ksendmail installation error

 
Rajendran_1
Advisor

ksendmail installation error

Dear Friends,

I am trying to install ksendmail, a software for sendmail administration.Here is my problem..
I have installed necessary compilers ..
I am using KDE as my Desktop .. No GNome installed...

This is the o/p ...

[root@SHANMU ksendmail-0.7]# ./configure
loading cache ./config.cache
checking for a C-Compiler...
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 how to run the C preprocessor... gcc -E
checking for a C++-Compiler...
checking for g++... g++
checking whether the C++ compiler (g++ -s) works... yes
checking whether the C++ compiler (g++ -s) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking host system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... yes
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
checking whether NLS is requested... yes
checking for msgfmt... msgfmt
checking for gmsgfmt... msgfmt
found msgfmt program is not GNU msgfmt; ignore it
checking for xgettext... :
checking how to run the C++ preprocessor... g++ -E
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
[root@SHANMU ksendmail-0.7]#


It gives the error Cant find X includes.. What the problem could be .. please guide me..

Raj
New
8 REPLIES 8
Rajendran_1
Advisor

Re: ksendmail installation error

Sorry,

I am using RedHat 8.0

Raj
New
Steven E. Protter
Exalted Contributor

Re: ksendmail installation error

Are you running telnet or X-Windows to compile?

Is your DISPLAY variable set?

I've seen this before, though and it was a bad path in an environment variable. Validate the envronment, look at the install script and see what environment variables it uses.

Steve
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Stuart Browne
Honored Contributor

Re: ksendmail installation error

Sounds more like you haven't intalled the X development packages.

See if you have the package XFree86-devel installed (rpm -q XFree86-devel).

This package includes a large number of files in /usr/X11R6/include/, all of the X include files.

If you don't, I'd suggest installing that package, along with the 'Xaw3d-devel' package, and possibly the 'Xft-devel' one too. This should cover all of your core X development needs.

Beyond that, you might want to look at the KDE development packages.. I'm picking that's wehre your next error lies.

One long-haired git at your service...
Stuart Browne
Honored Contributor

Re: ksendmail installation error

Sounds more like you haven't intalled the X development packages.

See if you have the package XFree86-devel installed (rpm -q XFree86-devel).

This package includes a large number of files in /usr/X11R6/include/, all of the X include files.

If you don't, I'd suggest installing that package, along with the 'Xaw3d-devel' package, and possibly the 'Xft-devel' one too. This should cover all of your core X development needs.

Beyond that, you might want to look at the KDE development packages.. I'm picking that's wehre your next error lyes.

One long-haired git at your service...
Stuart Browne
Honored Contributor

Re: ksendmail installation error

ack! sorry for the double post!

*mumbles* dumb bloody browser *mumbles*
One long-haired git at your service...
U.SivaKumar_2
Honored Contributor

Re: ksendmail installation error

HI,

it means you are missing *.h header file under /usr/X11R6/include/ directory.

Install XFree86-Devel package for getting all the required X header files.

regards,
U.SivaKumar

Innovations are made when conventions are broken
Chakravarthi
Trusted Contributor

Re: ksendmail installation error

Check is X is installed on your machine, rpm -qa | grep XFree86

if not install the X related RPMS
Rajendran_1
Advisor

Re: ksendmail installation error

Dear all friends,

Thanks for your Kind reply...

Ill get back to you in a day or two..

Regards,
Rajendran.
New