Visit Our UNIX and Linux User Community

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

Thread Tools Search this Thread
Operating Systems OS X (Apple) [Solved] links2 --enable-graphics from source, configure error: no graphics driver found.
# 1  
Old 12-14-2011
[Solved] links2 --enable-graphics from source, configure error: no graphics driver found.

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 :-)
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 11:18 AM.. Reason: code tags
# 2  
Old 12-15-2011
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:
# 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
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:
# 5  
Old 12-15-2011

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.

bash-4.1$ ./configure --help
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
  --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
  --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
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  --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
                          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

---------- 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:

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

and voila:

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 09:47 PM.. Reason: code tags, add text
# 6  
Old 12-16-2011
Originally Posted by butterbaerchen
btw - how do I put [solved] on the starter post?
You don't, you ask a mod to do it.
# 7  
Old 12-17-2011
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 :
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 08:35 AM.. Reason: incomplete spelling error

Previous Thread | Next Thread
Test Your Knowledge in Computers #882
Difficulty: Easy
In October 2013 National Geographic released a file titled American Blackout which dealt with an imagined large-scale cyber attack on SCADA and the US electrical grid.
True or False?

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Graphics Driver Support in Linux

It's not exactly a question and more of a discussion. I found very less graphics application being developed for linux system. I'm not really fond of graphics programming and have a very little knowledge about it. Can any one suggest me that whether linux lack in ghraphics support? or... (2 Replies)
Discussion started by: kg_gaurav
2 Replies

2. High Performance Computing

FFTW - ./configure --enable-mpi error.

Hello I am trying to install fftw3.3.3 on an HPC system. The system has openmpi installed ( though we can choose between a variety of mpi distributions). However, while ./configure step of fftw, there is an error. The relevant section of the output is: checking whether to build shared... (3 Replies)
Discussion started by: abhi34101
3 Replies

3. High Performance Computing

Graphics cards

More and more applications which consist of computationally intensive tasks rely on the graphics card's capabilities in order to speed up the calculations. The question is how can one know whether the graphics card will have any influence for a proprietary application? (2 Replies)
Discussion started by: figaro
2 Replies

4. Ubuntu

graphics drivers

ok, right off the bat im going to say this, i know that there is about over 100 links on google for this, just none of them help me. i have a radeon mobility 7500 graphics card. and i want to enable the compiz effects via Administration/preferences/Appearance. the problem is that i can't get the... (12 Replies)
Discussion started by: Texasone
12 Replies

5. Programming

2D Graphics Lib

Hi, I am on Fedora9 and need to do some simple 2D graphics (for game development). I am looking for an ideal 2D library/package to be used with GCC. I have come accross GRX, libmxi and some OpenGL (The 3D), but none of which seems to be ok. I could not find any tutorial or support material... (1 Reply)
Discussion started by: nasersh
1 Replies

6. Programming

graphics commands ? ? ?

Graphics in UNIX :D well how to include "graphics.h" header file ? how to make the text output in colour in sh programming. please feed in back ....... thanking you alll imma (2 Replies)
Discussion started by: immanuelgangte
2 Replies

7. Programming

Graphics libraries

I want to know if under Linux there are some graphics libraries and/or functions for using simple graphics in the 'console' screen. For example with MS-DOS (when I was using Borland Turbo C++ v1.01, a very old version) there was the include file <graphics.h> that allowed to enter the graphic... (1 Reply)
Discussion started by: robotronic
1 Replies

8. UNIX Desktop Questions & Answers

Graphics programing

Hi all! I`m new in Unix (Linux) and i whant to ask something! What language should i use for Linux developing.I meen applications an GAME DEVELOPING! Should i use C,TCL ??? Please help me on this ...:( (1 Reply)
Discussion started by: Sebastyan
1 Replies

9. UNIX Desktop Questions & Answers

Graphics And Animation

Discussion started by: aloysius1001
5 Replies

Featured Tech Videos