PiRSquared17 / quadra

Automatically exported from code.google.com/p/quadra
0 stars 0 forks source link

Configure won't. Required dependencies missing, Ubuntu 9.04 Jaunty #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download quadra-1.2.0.tar.gz, extract, cd to quadra-1.2.0 directory
2. ./configure

What is the expected output? What do you see instead?
I expect it to configure successfully, but get this msg instead:
configure: WARNING: X11 is required and could not be found!
configure: error: Required dependencies missing.
I had other dependencies initially, but solved these with synaptic, on X11
remains a problem.

What version of the product are you using? On what operating system?
Version: quadra-1.2.0.tar.gz source
OS: Linux, Ubuntu 9.04 Jaunty (2.6.28-15-generic)

Please provide any additional information below.
Here is the full output from ./configure:
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for compress in -lz... yes
checking for png_create_read_struct in -lpng... yes
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... yes
checking for XF86VidModeSwitchToMode in -lXxf86vm... no
checking for XpmCreatePixmapFromData in -lXpm... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for X11/extensions/XShm.h... yes
checking for X11/extensions/xf86vmode.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking machine/byte_order.h usability... no
checking machine/byte_order.h presence... no
checking for machine/byte_order.h... no
checking linux/cdrom.h usability... yes
checking linux/cdrom.h presence... yes
checking for linux/cdrom.h... yes
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking mcheck.h usability... yes
checking mcheck.h presence... yes
checking for mcheck.h... yes
configure: WARNING: X11 is required and could not be found!
configure: error: Required dependencies missing.

Original issue reported on code.google.com by mike.bic...@gmail.com on 5 Sep 2009 at 1:15

GoogleCodeExporter commented 9 years ago
This seems to be the problem:

checking for XF86VidModeSwitchToMode in -lXxf86vm... no
checking for X11/extensions/xf86vmode.h... no

It seems those are in the x11proto-xf86vidmode-dev package, which don't seem 
installed by default, for some reason (maybe we're supposed to use Xrandr 
nowadays 
for this kind of resolution tweaking?). I develop the Linux version on Jaunty 
myself, 
so it should be fine once you add the missing package.

I should also document this somewhere.

Original comment by pphaneuf on 8 Sep 2009 at 3:43

GoogleCodeExporter commented 9 years ago
Thanks for your reply pphaneuf, I've been away and old just got time to play 
with
this again.

I have installed the x11proto-xf86vidmode-dev package (using synaptic), but it 
still
won't ./configure successfully.

I have pasted the latest output from the ./configure command below.
Thanks again,
Mike.

checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for compress in -lz... yes
checking for png_create_read_struct in -lpng... yes
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... yes
checking for XF86VidModeSwitchToMode in -lXxf86vm... no
checking for XpmCreatePixmapFromData in -lXpm... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for X11/extensions/XShm.h... yes
checking for X11/extensions/xf86vmode.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking machine/byte_order.h usability... no
checking machine/byte_order.h presence... no
checking for machine/byte_order.h... no
checking linux/cdrom.h usability... yes
checking linux/cdrom.h presence... yes
checking for linux/cdrom.h... yes
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking mcheck.h usability... yes
checking mcheck.h presence... yes
checking for mcheck.h... yes
configure: WARNING: X11 is required and could not be found!
configure: error: Required dependencies missing.

Original comment by mike.bic...@gmail.com on 26 Sep 2009 at 5:47

GoogleCodeExporter commented 9 years ago
Oops, sorry, I got this wrong. The required package is libxxf86vm-dev, which 
itself 
depends on x11proto-xf86vidmode-dev for the header file, and on libxxf86vm1 for 
the actual library, making the whole thing complete and working.

x11proto-xf86vidmode-dev by itself only contains the header files, not the 
required 
libraries.

Original comment by pphaneuf on 26 Sep 2009 at 6:06

GoogleCodeExporter commented 9 years ago
Is this ok now? I'm building fine on Jaunty here...

Original comment by pphaneuf on 29 Nov 2009 at 6:39

GoogleCodeExporter commented 9 years ago
I'm having the same problem, but with lucid

[$> ./configure --with-x
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for compress in -lz... yes
checking for png_create_read_struct in -lpng... yes
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... yes
checking for XF86VidModeSwitchToMode in -lXxf86vm... yes
checking for XpmCreatePixmapFromData in -lXpm... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/xpm.h usability... no
checking X11/xpm.h presence... no
checking for X11/xpm.h... no
checking for X11/extensions/XShm.h... yes
checking for X11/extensions/xf86vmode.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking machine/byte_order.h usability... no
checking machine/byte_order.h presence... no
checking for machine/byte_order.h... no
checking linux/cdrom.h usability... yes
checking linux/cdrom.h presence... yes
checking for linux/cdrom.h... yes
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking mcheck.h usability... yes
checking mcheck.h presence... yes
checking for mcheck.h... yes
configure: WARNING: X11 is required and could not be found!
configure: error: Required dependencies missing.

Original comment by ikt...@gmail.com on 23 May 2010 at 1:37

GoogleCodeExporter commented 9 years ago
fixed the problem, just needed libxpm-dev

Original comment by ikt...@gmail.com on 23 May 2010 at 1:39

GoogleCodeExporter commented 9 years ago
Marking as "invalid", but in the sense that I didn't fix anything and you got 
it working. :-)

That's the kind of thing that could be made a lot clearer...

Original comment by pphaneuf on 24 May 2010 at 5:45

GoogleCodeExporter commented 9 years ago
Have same problem
configure: WARNING: libpng is required and could not be found!
configure: WARNING: X11 is required and could not be found!
configure: error: Required dependencies missing.

on
Distributor ID: Ubuntu
Description:    Ubuntu 10.10
Release:    10.10
Codename:   maverick

Have installed all packets mentioned above, but still receive dependency errors 
when i try to ./configure

Original comment by alex.cho...@gmail.com on 26 Jan 2011 at 11:22

GoogleCodeExporter commented 9 years ago
I think you're missing libpng-dev. For the X11 packages, they seem to be moving 
things around in the newer versions of Ubuntu, I'm not sure where things all 
are. What you *really* need is the following headers:

X11/Xlib.h
X11/xpm.h
X11/extensions/XShm.h
X11/extensions/xf86vmode.h

And the following libraries (can have either .a or .so extension):

libX11
libXext
libXxf86vm
libXpm

Original comment by pphaneuf on 26 Jan 2011 at 6:01