Page 1 of 1

cannot compile Links 2.5 with framebuffer support

Posted: Sat 25 Feb 2012, 21:05
by sc0ttman
I tried to compile Links 2.5 (the web browser) with framebuffer enabled,
but after running ./configure I cannot get it enabled.

Clearly something on my system is not setup right,
even though I am able to use the framebuffer...
___________

I have the framebuffer working on my system, as far as I understand it.

(I have a special vmlinuz compiled with framebuffer support, and
my GRUB entry has this " vga=0x315" to ensure 800x600 in the console.)

Oh, and I have played videos in the console, using mplayer,
so that clinches it, I reckon - framebuffer must be working, right?

(NOTE: Please point out any wrong assumptions....
I don't quite understand all the framebuffer, fbdev, Xfbdev, directfb stuff)

Posted: Tue 28 Feb 2012, 19:56
by amigo
Are you running it in graphics mode?

Posted: Wed 29 Feb 2012, 16:25
by sc0ttman
amigo wrote:Are you running it in graphics mode?
I tried, but no cigar... The '-g' option *should* work in the framebuffer, if framebuffer support is compiled in, right?

Or should I not be using the '-g' option in the framebuffer?

Obviously without graphics mode it works fine in framebuffer, but images are not displayed... In this case, I might as well use elinks, as it's way better in every aspect, except not showing images 'inline'!

The only real benefit of the framebuffer (for me) is displaying images/video .... I have mplayer and fbi working fine in the framebuffer... I compiled fbi, the mplayer is from the wary5OLD repo...

I will give it another go, and will look further into what pkgs are required to compile framebuffer enabled Links... Hopefully I will get it sorted at some point!

Posted: Thu 01 Mar 2012, 06:47
by amigo
As I understand it, yes the '-g' is the right option for the framebuffer. I'd suggest asking the author or on their forum or mailing list if they have one.

Posted: Mon 05 Mar 2012, 16:10
by sc0ttman
amigo wrote:As I understand it, yes the '-g' is the right option for the framebuffer. I'd suggest asking the author or on their forum or mailing list if they have one.
Yeah, I might study/research a bit more before I bug them!

Posted: Mon 12 Mar 2012, 23:03
by Keef
When I've compiled it, it seems to have the FB driver, but running it is a different matter.
'--enable-graphics' is all you need, but it wont build the fb driver unless gpm is available, even if you try to disable it(for me anyway).

Code: Select all

Configuration results:

UTF-8 terminal:		YES
GPM support:		YES
SSL support:		OPENSSL
Supported compression:	ZLIB BZIP2 LZMA
Graphics enabled:	YES
Graphics drivers:	FB X
Image formats:		GIF PNG XBM JPEG TIFF

links -g, or links -driver fb do the same job. However I get a 'unable to initialize GPM mouse' error.
I have GPM installed, and can get a mouse cursor on the console by entering:

Code: Select all

gpm -m /dev/input/mice -t imps2
So I've got a working framebuffer and a working gpm mouse, but no cigar.
There are posts on the interwebby with the same problem going back to 2003, but no answers.
Works ok with directfb, but not the plain fb. Which is a pain.
On a side note, I've got Netsurf to run on the framebuffer. It's got its faults (several), but it looks nice and does basic browsing ok with images. Bit of a novelty, but it kept me off the streets for a while...

Posted: Sat 12 May 2012, 16:24
by Ibidem
here's an strace of a working links2 with the fb driver...
check for /dev/gpmctl
try to configure gpm so it can run without any arguments, perhaps.
when compiling, get the gpm headers
make sure you have libpng headers (preferably also libjpeg & libtiff)
that's all I can think of.