nu2thisNOT Premium Member join:2005-04-07 Hallandale, FL |
nu2this
Premium Member
2012-Dec-14 4:55 pm
links terminal web browser» links.twibright.combecause of the name maybe... i am trying to figure out how to get this browser out of text mode and put it into graphical mode. i tried links -g but that isn't working... it says that -g is an unknown option. Links 0.99 (Lynx-like text WWW browser) os x 10.8.2 any help would be great thanks |
|
LazMan Premium Member join:2003-03-26 Beverly Hills, CA |
LazMan
Premium Member
2012-Dec-14 5:30 pm
Links is a text mode browser... Not sure what you mean by 'graphical' mode?
What are you trying to accomplish here, maybe we can help get you there? |
|
darciliciousCyber Librarian Premium Member join:2001-01-02 Forest Grove, OR |
From the website, on their features page: Links runs in graphics mode (mouse required) on X Window System (UN*X, Cygwin), SVGAlib, Linux Framebuffer, OS/2 PMShell, AtheOS GUI |
|
nu2thisNOT Premium Member join:2005-04-07 Hallandale, FL |
to LazMan
Links can be run on the following platforms. On all of them Links works in text mode and in graphics mode under the X-Window system. With some operating systems, additional supported graphics systems are included in parentheses. AIX AtheOS (AtheOS graphics environment) BeOS Cygwin under Windows FreeBSD FreeMint HPUX Irix Linux (Xorg, SVGAlib, framebuffer) MacOS X NetBSD OpenBSD OS/2 (Pmshell) Solaris SunOS Tru64 |
|
|
to nu2this
Did you compile it yourself?
If not, where did you install it from? It probably has to be compiled with graphical support. |
|
nu2thisNOT Premium Member join:2005-04-07 Hallandale, FL |
nu2this
Premium Member
2012-Dec-14 9:35 pm
i downloaded it through fink |
|
nu2this |
nu2this
Premium Member
2012-Dec-14 9:36 pm
or should i say installed it via Fink |
|
nu2this |
nu2this
Premium Member
2012-Dec-14 9:41 pm
any while we are talking about cool stuff in Terminal... (as I am just now having the desire to start to use it for so much more)... what other cool uses can you do with terminal besides web browser and email (mutt)? |
|
|
to nu2this
The package in Fink is the older version of Links that does not have Javascript or a graphical interface: » www.jikos.cz/~mikulas/links/It looks like Brew has the 2.7 version: » braumeister.org/formula/linksTo install Brew: » mxcl.github.com/homebrew/ |
|
nu2thisNOT Premium Member join:2005-04-07 Hallandale, FL |
nu2this
Premium Member
2012-Dec-14 9:53 pm
thanks... got Brew... now should it work by just typing...
brew install links
? it installs it and when i get back to the $, I put links -g and no good. doesn't recognize the -g |
|
|
Did you uninstall the fink version?
probably: fink remove links or fink uninstall links |
|
|
to nu2this
You can use IRC of course » www.irssi.org/download |
|
statestress magnet Mod join:2002-02-08 Purgatory |
to nu2this
Once you get the old version uninstalled, try specifying the driver in the CLI, in this case X11:
links -g -driver x www.google.com |
|
state |
to nu2this
said by nu2this:what other cool uses can you do with terminal besides web browser and email (mutt)? Lots of things. » www.terminally-incoheren ··· thout-x/ |
|
nu2thisNOT Premium Member join:2005-04-07 Hallandale, FL |
to Thinkdiff
yes... thanks |
|
|
nu2this |
to Thinkdiff
i installed with brew, but it says that Graphics not enabled when compiling.
I went back and tried to ./configure --help but it is saying No such file or directory.
please help |
|
nu2this |
nu2this
Premium Member
2012-Dec-16 10:00 am
ok... crazy... but now closer
i stumbled across the way to get to where i was the other day... and here is where i am now...
Last login: Sun Dec 16 09:08:11 on ttys000 admin:~ admin$ links -g Graphics not enabled when compiling admin:~ admin$ cd Downloads/links-2.7 admin:links-2.7 admin$ ./configure --enable-graphics loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found 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 whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking whether gcc needs -traditional... no checking for EMX... no checking for OpenWatcom... no checking for typeof... yes checking for long long... yes checking for pointer comparison bug... no checking for maxint conversion bug... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for limits.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for time.h... yes checking for unistd.h... yes checking for math.h... yes checking for ieee.h... no checking for endian.h... no checking for values.h... no checking for sigaction.h... no checking for netinet/in_systm.h... yes checking for netinet/in_system.h... no checking for netinet/ip.h... yes checking for arpa/inet.h... yes checking for netinet/dhcp.h... no checking for net/socket.h... no checking for sys/select.h... yes checking for sys/resource.h... yes checking for sys/utsname.h... yes checking for sys/un.h... yes checking for sys/fmutex.h... no checking for sys/cygwin.h... no checking for uwin.h... no checking for interix/interix.h... no checking for io.h... no checking for process.h... no checking for cygwin/process.h... no checking for setjmp.h... yes checking for langinfo.h... yes checking for pwd.h... yes checking for grp.h... yes checking for malloc.h... no checking for alloca.h... yes checking for umalloc.h... no checking for working const... yes checking for inline... inline checking for size_t... yes checking for socklen_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of unsigned short... 2 checking size of unsigned... 4 checking size of unsigned long... 8 checking size of unsigned long long... 8 checking for big endian... no checking for little endian... yes checking if rename can replace existing files... yes checking return type of signal handlers... void checking for strftime... yes checking for vprintf... yes checking for calloc... yes checking for mkdir... yes checking for select... yes checking for chmod... yes checking for getpid... yes checking for setpgid... yes checking for popen... yes checking for uname... yes checking for getpagesize... yes checking for strptime... yes checking for getpwuid... yes checking for getgrgid... yes checking for getrlimit... yes checking for setrlimit... yes checking for setlocale... yes checking for nl_langinfo... yes checking for _heapmin... no checking for _ucreate... no checking for _uopen... no checking for _udestroy... no checking for _udefault... no checking for snprintf... yes checking for raise... yes checking for gettimeofday... yes checking for tempnam... yes checking for sigfillset... yes checking for sigdelset... yes checking for strtol... yes checking for strtoul... yes checking for strtoq... yes checking for strtoll... yes checking for strlen... yes checking for strcpy... yes checking for strchr... yes checking for strrchr... yes checking for strcmp... yes checking for strncmp... yes checking for strcspn... yes checking for strstr... yes checking for memmove... yes checking for strerror... yes checking for sigsetjmp/siglongjmp... yes checking for socket... yes checking for setsockopt... yes checking for gethostbyname... yes checking for getaddrinfo... yes checking for freeaddrinfo... yes checking for gai_strerror... yes checking for inet_ntop... yes checking for inet_pton... yes checking for ipv6... yes checking for sockaddr_in6.sin6_scope_id... yes checking for dhcp_option... no checking for herror... yes checking for cfmakeraw... yes checking for cygwin_conv_to_full_win32_path... no checking for cygwin_conv_path... no checking for uwin_path... no checking for unixpath2win... no checking for winpath2unix... no checking for requested debug level... 0 checking if you want to use graphics... yes checking if you want to enable UTF-8 terminal... yes checking for pow in -lm... yes checking for gpm.h... no checking for Gpm_Open in -lgpm... no checking for Gpm_GetLibVersion... no checking for OS/2 threads... no checking for atheos/threads.h... no checking for spawn_thread... no checking for resume_thread... no checking for MouOpen... no checking for _read_kbd... no checking for XFree for OS/2... no checking for pkg-config... /sw/bin/pkg-config checking for openssl... yes checking OPENSSL_CFLAGS... checking OPENSSL_LIBS... -lssl -lcrypto -lz checking for OpenSSL... openssl checking for zlib.h... yes checking for inflate in -lz... yes checking for bzlib.h... yes checking for BZ2_bzDecompress in -lbz2... yes checking for lzma.h... no checking for lzma_auto_decoder in -llzma... no checking for svgalib... no checking for linux/fb.h... no checking for linux/kd.h... no checking for linux/vt.h... no checking for sys/mman.h... yes checking for directfb-config... no checking for directfb... no checking for X... no checking for X11/Xlib.h... no checking for X11/X.h... no checking for X11/Xutil.h... no checking for X11/Xatom.h... no checking for X11/Xlocale.h... no checking for X11/keysymdef.h... no checking for XOpenDisplay... no checking for XOpenIM... no checking for XCloseIM... no checking for XCreateIC... no checking for XDestroyIC... no checking for XwcLookupString... no checking for Xutf8LookupString... no checking for XSupportsLocale... no checking for XmbTextListToTextProperty... no checking for pmshell... no checking for windowsx.h... no checking for ReleaseDC... no checking for ReleaseDC in -luser32... no checking for GdiFlush... no checking for GdiFlush in -lgdi32... 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 libpng >= 1.0.0... yes checking LIBPNG_CFLAGS... -I/opt/X11/include/libpng15 checking LIBPNG_LIBS... -L/opt/X11/lib -lpng15 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_libpng_ver... 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... no checking for jpeg_destroy_decompress in -ljpeg... no checking for tiffio.h... no checking for TIFFClientOpen in -ltiff... no configure: error: No graphics drivers found. admin:links-2.7 admin$ |
|
nu2this |
nu2this
Premium Member
2012-Dec-16 10:01 am
No graphics drivers found... can someone point out my obvious mistake please? edit~ this is the page that i am working from: » links.twibright.com/download.php |
|
statestress magnet Mod join:2002-02-08 Purgatory |
state
Mod
2012-Dec-16 10:07 am
Try adding --with-svgalib or --with-x as an argument to your configure. |
|
nu2thisNOT Premium Member join:2005-04-07 Hallandale, FL |
nu2this
Premium Member
2012-Dec-16 10:41 am
admin:~ admin$ cd Downloads/links-2.7 admin:links-2.7 admin$ links --with-svgalib Unknown option --with-svgalib admin:links-2.7 admin$ links --with-x Unknown option --with-x |
|
nu2this |
nu2this
Premium Member
2012-Dec-16 10:42 am
admin:links-2.7 admin$ ./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 - check memory leaks, red zone 3 - check memory leaks, red zone, pattern filling --enable-graphics use graphics --disable-utf8 disable UTF-8 terminal (saves memory) --without-gpm compile without gpm mouse --with-ssl(=directory) enable SSL support --with-ssl=nss enable SSL support through NSS OpenSSL emulation --disable-ssl-pkgconfig don't use pkgconfig when searching for openssl --without-zlib compile without zlib compression --without-bzip2 compile without bzip2 compression --without-lzma compile without lzma 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-windows compile without Windows graphics driver --without-atheos compile without Atheos graphics driver --with-x use the X Window System --disable-png-pkgconfig don't use pkgconfig when searching for libpng --without-libjpeg compile without JPEG support --without-libtiff compile without TIFF support admin:links-2.7 admin$ |
|
statestress magnet Mod join:2002-02-08 Purgatory |
to nu2this
I was suggesting adding those options on the rebuild. This is how I compiled it for my box, to run under X11: ./configure --enable-graphics --with-x
|
|
nu2thisNOT Premium Member join:2005-04-07 Hallandale, FL |
nu2this
Premium Member
2012-Dec-16 10:46 am
so sorry... brain fart... yes... i put it wrong... very new to this...
i tried that and No graphics drivers found.
admin:links-2.7 admin$ ./configure --enable-graphics --with-x loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found 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 whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking whether gcc needs -traditional... no checking for EMX... no checking for OpenWatcom... no checking for typeof... yes checking for long long... yes checking for pointer comparison bug... no checking for maxint conversion bug... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for limits.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for time.h... yes checking for unistd.h... yes checking for math.h... yes checking for ieee.h... no checking for endian.h... no checking for values.h... no checking for sigaction.h... no checking for netinet/in_systm.h... yes checking for netinet/in_system.h... no checking for netinet/ip.h... yes checking for arpa/inet.h... yes checking for netinet/dhcp.h... no checking for net/socket.h... no checking for sys/select.h... yes checking for sys/resource.h... yes checking for sys/utsname.h... yes checking for sys/un.h... yes checking for sys/fmutex.h... no checking for sys/cygwin.h... no checking for uwin.h... no checking for interix/interix.h... no checking for io.h... no checking for process.h... no checking for cygwin/process.h... no checking for setjmp.h... yes checking for langinfo.h... yes checking for pwd.h... yes checking for grp.h... yes checking for malloc.h... no checking for alloca.h... yes checking for umalloc.h... no checking for working const... yes checking for inline... inline checking for size_t... yes checking for socklen_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of unsigned short... 2 checking size of unsigned... 4 checking size of unsigned long... 8 checking size of unsigned long long... 8 checking for big endian... no checking for little endian... yes checking if rename can replace existing files... yes checking return type of signal handlers... void checking for strftime... yes checking for vprintf... yes checking for calloc... yes checking for mkdir... yes checking for select... yes checking for chmod... yes checking for getpid... yes checking for setpgid... yes checking for popen... yes checking for uname... yes checking for getpagesize... yes checking for strptime... yes checking for getpwuid... yes checking for getgrgid... yes checking for getrlimit... yes checking for setrlimit... yes checking for setlocale... yes checking for nl_langinfo... yes checking for _heapmin... no checking for _ucreate... no checking for _uopen... no checking for _udestroy... no checking for _udefault... no checking for snprintf... yes checking for raise... yes checking for gettimeofday... yes checking for tempnam... yes checking for sigfillset... yes checking for sigdelset... yes checking for strtol... yes checking for strtoul... yes checking for strtoq... yes checking for strtoll... yes checking for strlen... yes checking for strcpy... yes checking for strchr... yes checking for strrchr... yes checking for strcmp... yes checking for strncmp... yes checking for strcspn... yes checking for strstr... yes checking for memmove... yes checking for strerror... yes checking for sigsetjmp/siglongjmp... yes checking for socket... yes checking for setsockopt... yes checking for gethostbyname... yes checking for getaddrinfo... yes checking for freeaddrinfo... yes checking for gai_strerror... yes checking for inet_ntop... yes checking for inet_pton... yes checking for ipv6... yes checking for sockaddr_in6.sin6_scope_id... yes checking for dhcp_option... no checking for herror... yes checking for cfmakeraw... yes checking for cygwin_conv_to_full_win32_path... no checking for cygwin_conv_path... no checking for uwin_path... no checking for unixpath2win... no checking for winpath2unix... no checking for requested debug level... 0 checking if you want to use graphics... yes checking if you want to enable UTF-8 terminal... yes checking for pow in -lm... yes checking for gpm.h... no checking for Gpm_Open in -lgpm... no checking for Gpm_GetLibVersion... no checking for OS/2 threads... no checking for atheos/threads.h... no checking for spawn_thread... no checking for resume_thread... no checking for MouOpen... no checking for _read_kbd... no checking for XFree for OS/2... no checking for pkg-config... /sw/bin/pkg-config checking for openssl... yes checking OPENSSL_CFLAGS... checking OPENSSL_LIBS... -lssl -lcrypto -lz checking for OpenSSL... openssl checking for zlib.h... yes checking for inflate in -lz... yes checking for bzlib.h... yes checking for BZ2_bzDecompress in -lbz2... yes checking for lzma.h... no checking for lzma_auto_decoder in -llzma... no checking for svgalib... no checking for linux/fb.h... no checking for linux/kd.h... no checking for linux/vt.h... no checking for sys/mman.h... yes checking for directfb-config... no checking for directfb... no checking for X... no checking for X11/Xlib.h... no checking for X11/X.h... no checking for X11/Xutil.h... no checking for X11/Xatom.h... no checking for X11/Xlocale.h... no checking for X11/keysymdef.h... no checking for XOpenDisplay... no checking for XOpenIM... no checking for XCloseIM... no checking for XCreateIC... no checking for XDestroyIC... no checking for XwcLookupString... no checking for Xutf8LookupString... no checking for XSupportsLocale... no checking for XmbTextListToTextProperty... no checking for pmshell... no checking for windowsx.h... no checking for ReleaseDC... no checking for ReleaseDC in -luser32... no checking for GdiFlush... no checking for GdiFlush in -lgdi32... 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 libpng >= 1.0.0... yes checking LIBPNG_CFLAGS... -I/opt/X11/include/libpng15 checking LIBPNG_LIBS... -L/opt/X11/lib -lpng15 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_libpng_ver... 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... no checking for jpeg_destroy_decompress in -ljpeg... no checking for tiffio.h... no checking for TIFFClientOpen in -ltiff... no configure: error: No graphics drivers found. admin:links-2.7 admin$ |
|
statestress magnet Mod join:2002-02-08 Purgatory |
state
Mod
2012-Dec-16 10:50 am
It looks like you're missing some graphics libraries, you'll need to install the dependencies before you can run it in graphical mode. A couple that stood out: checking for svgalib... no checking for X11/Xlib.h... no checking for X11/X.h... no checking for X11/Xutil.h... no checking for X11/Xatom.h... no checking for X11/Xlocale.h... no checking for X11/keysymdef.h... no checking for libpng/png.h... no checking for jpeglib.h... no You should be able to download them and install them from the link you provided earlier: » links.twibright.com/download.php |
|
nu2thisNOT Premium Member join:2005-04-07 Hallandale, FL |
nu2this
Premium Member
2012-Dec-16 12:39 pm
i have them downloaded... some of them twice... but not sure... maybe i am just over my head... |
|
|
Do not install all of those libraries manually - you'll really muck up your OS X installation. That's the point of brew/fink/package managers. Keep everything managed. Did you install XQuartz (or X11 on pre-10.8)? » xquartz.macosforge.org/landing/ |
|
nu2thisNOT Premium Member join:2005-04-07 Hallandale, FL |
nu2this
Premium Member
2012-Dec-16 2:56 pm
ok. just going to start all over... can i just delete all of the downloads and start from Brew? |
|
nu2this |
to Thinkdiff
installing XQuartz on |
|
nu2this |
nu2this
Premium Member
2012-Dec-16 3:30 pm
graphics still not enabled when compiling |
|
|
to nu2this
Yes, just delete all the source files you downloaded and do everything through brew. Install XQuartz/X11. Then: brew remove links
brew install libpng
brew install libjpeg
brew install libtiff
brew edit links (see below note)
brew install links
You need to make the brew configuration file look like this: require 'formula'
class Links < Formula
homepage 'http://links.twibright.com/'
url 'http://links.twibright.com/download/links-2.7.tar.gz'
sha1 'e0773f2b23397bcbd08d5a3145d94e446dfb4969'
depends_on :x11
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}", "--enable-graphics", "--with-x"
system "make install"
end
end
If you've never used VI before, it's a bit confusing. Move the cursor using the arrow keys to the end of the "--mandir" line, press "i" to start insert mode then type in the extra configuration options. Don't forget to add the depends_on line as well. When you're done, press ESC, then type ":wq" and hit enter to write and quit. |
|