[Solved] links2 --enable-graphics from source, configure error: no graphics driver found.

Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 12-14-2011
[Solved] links2 --enable-graphics from source, configure error: no graphics driver found.

Howdy
I am trying to install links2 with graphics support on snow leopard 10.6.8 (xcode installed). I have had the program running last year, also installed from source - but then I had installed some image libraries with mac ports and fink - cannot reproduce that setup. Plus I would like to not use ports or fink. I am assuming I need to pass some info to configure.
/usr/local/lib/:/usr/X11R6/:/usr/include/X11/:/usr/X11/lib/ are in the PATH

I appreciate any hints on how to go about this. I use Links2 mostly for reading offline documents like the tldp html manuals.

thank you :-)
Code:
checking for directfb-config... no
checking for X... no
checking for pmshell... no
checking for gui/view.h... no
checking for gui/window.h... no
checking for gui/desktop.h... no
checking for gui/bitmap.h... no
checking for util/locker.h... no
checking for util/application.h... no
checking for inflate in -lz... (cached) yes
checking for libpng >= 1.0.0... yes
checking LIBPNG_CFLAGS... -I/usr/local/include/libpng14  
checking LIBPNG_LIBS... -L/usr/local/lib -lpng14  
checking for png.h... yes
checking for libpng/png.h... no
checking for png_create_info_struct... yes
checking for png_set_rgb_to_gray... yes
checking for png_get_image_width... yes
checking for png_get_image_height... yes
checking for png_get_gAMA... yes
checking for png_get_color_type... yes
checking for png_get_bit_depth... yes
checking for png_set_strip_alpha... yes
checking for png_get_valid... yes
checking for png_get_sRGB... yes
checking if you can include both setjmp.h and png.h... yes
checking for jpeglib.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for tiffio.h... yes
checking for TIFFClientOpen in -ltiff... yes
configure: error: No graphics drivers found.

-- links-2.3pre1 --

Last edited by vbe; 12-15-2011 at 10:18 AM.. Reason: code tags
# 2  
Old 12-15-2011
Quote:
checking for X... no
checking for pmshell... no
checking for gui/view.h... no
checking for gui/window.h... no
checking for gui/desktop.h... no
checking for gui/bitmap.h... no
Is this normal?
When you compile, should we understand you are in a text terminal? as who?
can you from your terminal launch xclock & ?
This User Gave Thanks to vbe For This Post:
butterbaerchen (12-15-2011)
# 3  
Old 12-15-2011
yes - OSX Terminal app. As me [the user] - GNU bash 4.1 (which I installed from source and made my default shell, replacing the bash 3.2 that Snow Leopard ships with). And yes, can run xclock & and up comes a small window with an analog clock and the terminal shows the process id. configure also complained about not finding the pkg-config script, but I just fixed that with: export PKG_CONFIG=/usr/local/bin/pkg-config and now the complaint is gone but still no graphics drivers found.
# 4  
Old 12-15-2011
Quote:
Originally Posted by butterbaerchen
/usr/local/lib/:/usr/X11R6/:/usr/include/X11/:/usr/X11/lib/ are in the PATH
You dont put header file paths in PATH. PATH controls where you look for executables and only executables.

Try ./configure --help to see what options it lets you set. Paste its output here too please. configure can be, well, configured by the programmer to have lots of different custom options but at least deals with them in a fairly consistent way.
This User Gave Thanks to Corona688 For This Post:
butterbaerchen (12-15-2011)
# 5  
Old 12-15-2011
Solved

Quote:
Originally Posted by Corona688
You dont put header file paths in PATH. PATH controls where you look for executables and only executables.

Try ./configure --help to see what options it lets you set. Paste its output here too please.
thank you for pointing that out - serves me right for trying out things I do not understand - I will go and do some reading ...

and ... thank you for taking the time to help.

Code:
bash-4.1$ ./configure --help
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
  --cache-file=FILE       cache test results in FILE
  --help                  print this message
  --no-create             do not create output files
  --quiet, --silent       do not print `checking...' messages
  --version               print the version of autoconf that created configure
Directory and file names:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [same as prefix]
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  --datadir=DIR           read-only architecture-independent data in DIR
                          [PREFIX/share]
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
                          [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  --includedir=DIR        C header files in DIR [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  --infodir=DIR           info documentation in DIR [PREFIX/info]
  --mandir=DIR            man documentation in DIR [PREFIX/man]
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  --program-prefix=PREFIX prepend PREFIX to installed program names
  --program-suffix=SUFFIX append SUFFIX to installed program names
  --program-transform-name=PROGRAM
                          run sed PROGRAM on installed program names
Host type:
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  --host=HOST             configure for HOST [guessed]
  --target=TARGET         configure for TARGET [TARGET=HOST]
Features and packages:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --x-includes=DIR        X include files are in DIR
  --x-libraries=DIR       X library files are in DIR
--enable and --with options recognized:
  --enable-debuglevel     set internal checking level
	-1 - recover from segmentation faults
	 0 - no checks (fastest)
	 1 - check memory leaks
	 2 - leaks with file/line accuracy, memory red zone, pattern filling
  --enable-graphics       use graphics
  --without-gpm           compile without gpm mouse
  --with-ssl(=directory)  enable SSL support
  --with-ssl=nss          enable SSL support through NSS OpenSSL emulation
  --without-zlib          compile without zlib compression
  --without-bzip2         compile without bzip2 compression
  --without-svgalib       compile without svgalib graphics driver
  --without-x             compile without X Window System graphics driver
  --without-fb            compile without Linux Framebuffer graphics driver
  --without-directfb      compile without DirectFB graphics driver
  --without-pmshell       compile without PMShell graphics driver
  --without-atheos        compile without Atheos graphics driver
  --with-x                use the X Window System
  --without-libjpeg	  compile without JPEG support
  --without-libtiff       compile without TIFF support
bash-4.1$

---------- Post updated at 09:04 AM ---------- Previous update was at 08:54 AM ----------

... and when I pasted the configure --help output into the above message I saw it - there right in front of me. So I ran configure again:

Code:
./configure --x-includes=/usr/include/X11/ --x-libraries=/usr/X11/lib/ --enable-graphics

and voila:

snip...<>
Code:
checking for TIFFClientOpen in -ltiff... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
---------------------------------------------------------
Configuration results:

GPM support:		NO
SSL support:		OPENSSL
Supported compression:	ZLIB BZIP2
Graphics enabled:	YES
Graphics drivers:	X
Image formats:		GIF PNG XBM JPEG TIFF
---------------------------------------------------------

I will be bold and do a make on that now .... hang on.

yep - installed and is running. ... btw - how do I put [solved] on the starter post?

Last edited by butterbaerchen; 12-15-2011 at 08:47 PM.. Reason: code tags, add text
# 7  
Old 12-17-2011
Quote:
Originally Posted by Corona688
You don't, you ask a mod to do it.
thanks, could have guessed after trying to fix my speeling error there ... Smilie

so. Dear moderator - if you like you can mark my quest [solved] and ... if you could transpose grapics > graphics, that would be awesome. Great forum, tons to read. Thank you for having me here.

btw ... I tried to read the ... Featured Books and Articles by Active Forum Members page but safari, firefox and seamonkey all give me :
Quote:
vBulletin Message
Invalid Forum specified. If you followed a valid link, please notify the administrator
(which I did ... I think) - now, guess what: my brandnew links2 graphics browser gets me that page with no fuss. I am stoked.

Last edited by butterbaerchen; 12-17-2011 at 07:35 AM.. Reason: incomplete spelling error
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Graphics Driver Support in Linux kg_gaurav UNIX for Advanced & Expert Users 2 06-14-2013 11:22 AM
FFTW - ./configure --enable-mpi error. abhi34101 High Performance Computing 3 02-20-2013 02:46 PM
Graphics cards figaro High Performance Computing 2 01-04-2011 12:28 PM
X86-Graphics problem narep3 Solaris 3 08-26-2010 08:17 AM
Fedora graphics on Virtualbox woofie Linux 3 10-10-2009 05:59 AM
X server on HP-UX without graphics card kskywr HP-UX 6 05-01-2009 12:46 PM
graphics drivers Texasone Ubuntu 12 01-03-2009 04:55 PM
2D Graphics Lib nasersh Programming 1 12-08-2008 09:41 AM
Pseudo Graphics Interface Lestat Shell Programming and Scripting 4 06-08-2005 03:06 AM
graphics commands ? ? ? immanuelgangte Programming 2 07-14-2002 10:42 AM
Graphics libraries robotronic Programming 1 05-08-2002 05:02 AM
Graphics programing Sebastyan UNIX Desktop Questions & Answers 1 02-27-2002 07:09 AM
Graphics And Animation aloysius1001 UNIX Desktop Questions & Answers 5 02-16-2002 01:17 AM