Operating System - HP-UX
1834094 Members
2247 Online
110063 Solutions
New Discussion

X-Libraries on 11.23 /User Inerface for debugging Perl

 
SOLVED
Go to solution
Kalin Evtimov
Regular Advisor

X-Libraries on 11.23 /User Inerface for debugging Perl

Hi!
I want to install ddd, a GUI for the Perl-debugger. On configure it requires

checking for X... no
checking whether libXext is in the standard X library path... no
checking whether libXp is in the standard X library path... no
checking whether libXmu is in the standard X library path... no
checking for Motif... libraries /usr/lib, headers (none)
checking for Xpm... libraries (none), headers (none)
checking for Athena... libraries (none), headers (none)
checking whether compiling X headers requires -fpermissive... no
checking for XOpenDisplay in -lX11... no
configure: error: The X11 library '-lX11' could not be found.
Please use the configure options '--x-includes=DIR'
and '--x-libraries=DIR' to specify the X location.
See the files 'config.log' and 'ddd/config.log'
for further diagnostics.


, but I don't know where the X libraries on this UNIX are.

Maybe there is a better way for debugging?
Thank you.
9 REPLIES 9
Muthukumar_5
Honored Contributor
Solution

Re: X-Libraries on 11.23 /User Inerface for debugging Perl

I think your machine is not having X libraries and binaries.

You can check it as,

find /usr/lib -name "libXmu*". You have to get a library atleast. Install X window packages.

hth.
Easy to suggest when don't know about the problem!
Kalin Evtimov
Regular Advisor

Re: X-Libraries on 11.23 /User Inerface for debugging Perl

I have

/usr/lib/hpux32/libXmu.so.1
/usr/lib/hpux64/libXmu.so.1
/usr/lib/pa20_64/libXmu.2
/usr/lib/X11R4/libXmu.sl
/usr/lib/libXmu.2

There should be X-libraries, because I have CDE running. But whether these are, waht ddd looks for, I really don't know.
Muthukumar_5
Honored Contributor

Re: X-Libraries on 11.23 /User Inerface for debugging Perl

Check where is your X available.

# which X

Try to configure as,

./configure ... --x-includes=/usr/bin/X11/ --x-libraries=/usr/lib/X11R4/

It will start configure.

hth.
Easy to suggest when don't know about the problem!
Kalin Evtimov
Regular Advisor

Re: X-Libraries on 11.23 /User Inerface for debugging Perl

X is in /usr/bin/X11,
but even If I give this path , I get

checking for XOpenDisplay in -lX11... no
configure: error: The X11 library '-lX11' could not be found.
Please use the configure options '--x-includes=DIR'
and '--x-libraries=DIR' to specify the X location.
See the files 'config.log' and 'ddd/config.log'
for further diagnostics.


What is this "standard X library path?"
Muthukumar_5
Honored Contributor

Re: X-Libraries on 11.23 /User Inerface for debugging Perl

Did you include /usr/lib/X11R4/ directory in --x-libraries=/usr/lib/X11R4/

Is your machine is having /usr/lib/X11R4/libX11.sl? Then include it will work.

htht.
Easy to suggest when don't know about the problem!
Kalin Evtimov
Regular Advisor

Re: X-Libraries on 11.23 /User Inerface for debugging Perl

Yes, I have libX11.sl and I added
--x-libraries=/usr/lib/X11R4/, but still doesn't work. The same problem.
Kalin Evtimov
Regular Advisor

Re: X-Libraries on 11.23 /User Inerface for debugging Perl

The new is, that it finds X:

checking for X... libraries /usr/lib/X11R4, headers /usr/bin/X11

but the other libs are still missing..
Muthukumar_5
Honored Contributor

Re: X-Libraries on 11.23 /User Inerface for debugging Perl

What are all libraries are missing? Just try to find the library location in the system with find command.

Like,
find /usr -name "*Motif*"
find /usr -name "*Xpm*"

and include directory in the --x-libraries= options.

hth.
Easy to suggest when don't know about the problem!
Kalin Evtimov
Regular Advisor

Re: X-Libraries on 11.23 /User Inerface for debugging Perl

Thank you!
One more question, how do I include more direcotries after --x-libraries=...., I mean syntax?