Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 17:37
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
cannot compile Links 2.5 with framebuffer support
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
sc0ttman


Joined: 16 Sep 2009
Posts: 2385
Location: UK

PostPosted: Sat 25 Feb 2012, 17:05    Post_subject:  cannot compile Links 2.5 with framebuffer support  

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)

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send_private_message 
amigo

Joined: 02 Apr 2007
Posts: 2261

PostPosted: Tue 28 Feb 2012, 15:56    Post_subject:  

Are you running it in graphics mode?
Back to top
View user's profile Send_private_message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2385
Location: UK

PostPosted: Wed 29 Feb 2012, 12:25    Post_subject:  

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!

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send_private_message 
amigo

Joined: 02 Apr 2007
Posts: 2261

PostPosted: Thu 01 Mar 2012, 02:47    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2385
Location: UK

PostPosted: Mon 05 Mar 2012, 12:10    Post_subject:  

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!

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send_private_message 
Keef


Joined: 20 Dec 2007
Posts: 635
Location: Staffordshire

PostPosted: Mon 12 Mar 2012, 19:03    Post_subject:  

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:

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:
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...
Back to top
View user's profile Send_private_message 
Ibidem

Joined: 25 May 2010
Posts: 501
Location: State of Jefferson

PostPosted: Sat 12 May 2012, 12:24    Post_subject:  

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.
links2.txt.gz
Description  gzipped strace of links2 -g -driver fb
gz

 Download 
Filename  links2.txt.gz 
Filesize  3.67 KB 
Downloaded  330 Time(s) 
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0567s ][ Queries: 13 (0.0046s) ][ GZIP on ]