LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-01-2011, 06:52 PM   #1
crosstalk
Member
 
Registered: Jul 2010
Distribution: Gentoo, Debian, Mint, Xubuntu
Posts: 150

Rep: Reputation: 35
Building NetSurf on Gentoo


I'm currently running Gentoo systems, and would like to install NetSurf (a framebuffer-based standards-compliant console web browser, from what I read).

I looked for ebuilds (for Gentoo's package management), but haven't been able to find any (someone correct me if I'm wrong).

Therefore, I downloaded the source (both stable, and, now, SVN) for NetSurf. When I tried to compile it ("make TARGET=framebuffer"), I got an error, looking for libnsbmp. Therefore, I download libnsbmp, and install it:

Code:
ryan@RyanLaptop ~/netsurf $ cd libnsbmp/
ryan@RyanLaptop ~/netsurf/libnsbmp $ make
 COMPILE: src/libnsbmp.c
      AR: build-Linux-Linux-release-lib-static/libnsbmp.a
ryan@RyanLaptop ~/netsurf/libnsbmp $ sudo make install
Password: 
install  -m 644 include/libnsbmp.h /usr/local/include/
sed -e... libnsbmp.pc.in >build-Linux-Linux-release-lib-static/libnsbmp.pc
install  -m 644 build-Linux-Linux-release-lib-static/libnsbmp.pc /usr/local/lib/pkgconfig/libnsbmp.pc
install  -m 644 build-Linux-Linux-release-lib-static/libnsbmp.a /usr/local/lib
ryan@RyanLaptop ~/netsurf/libnsbmp $ cd ..
ryan@RyanLaptop ~/netsurf $ cd netsurf
ryan@RyanLaptop ~/netsurf/netsurf $ make TARGET=framebuffer
M.CONFIG: JPEG (libjpeg)	enabled       (NETSURF_USE_JPEG := YES)
M.CONFIG: JNG/MNG/PNG (libmng)	enabled       (NETSURF_USE_MNG := YES)
M.CONFIG: PDF export (haru)	disabled      (NETSURF_USE_HARU_PDF := NO)
M.CONFIG: glibc internal iconv	enabled       (NETSURF_USE_LIBICONV_PLUG := YES)
M.CONFIG: PNG/MNG/JNG (libmng)	enabled       (NETSURF_USE_MNG := YES)
M.CONFIG: PNG (libpng)  	enabled       (NETSURF_USE_PNG := YES)
M.CONFIG: Sprite (librosprite)	auto-disabled (NETSURF_USE_ROSPRITE := AUTO)
M.CONFIG: BMP (libnsbmp)	failed        (NETSURF_USE_BMP := YES)
framebuffer/Makefile.target:40: *** Unable to find library for: BMP (libnsbmp).  Stop.
As you can see, I'm still getting the same error.

Does anyone have any hints?

Thank you.
 
Old 04-01-2011, 07:00 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
install -m 644 build-Linux-Linux-release-lib-static/libnsbmp.pc \
/usr/local/lib/pkgconfig/libnsbmp.pc
/usr/local/lib/pkgconfig/ is not in your "pkgconfig search path".

This will work :
export PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/

( The command is temporary and will reset to /usr/lib/pkgconfig/
when you exit the terminal.)

..
 
1 members found this post helpful.
Old 04-01-2011, 07:02 PM   #3
crosstalk
Member
 
Registered: Jul 2010
Distribution: Gentoo, Debian, Mint, Xubuntu
Posts: 150

Original Poster
Rep: Reputation: 35
Thank you... that seemed to do it.

I'll mark this as solved once it get it to build (I have the GIF library next...)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to build netsurf for slackware and slax vonbiber Slackware 16 02-12-2011 03:57 PM
LXer: NetSurf – A Graphical Web Browser for Command Line (+CSS Support) LXer Syndicated Linux News 0 11-17-2010 01:00 PM
uninstall/remove Netsurf web browser cork1958 Puppy 0 07-27-2008 09:38 AM
Building KDE 3.4.1 under Gentoo 2005.0 dinolinux Linux - Distributions 1 07-03-2005 04:41 PM
Problem Building Gentoo Kernel w33k Linux - Software 6 08-16-2004 03:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration