Compilation error

Everything about the installation and compilation

Moderator: feffer

petshopboy
Posts: 1
Joined: Sun Aug 05, 2007 8:59 pm
Contact:

Compilation error

Postby petshopboy » Sun Aug 05, 2007 9:24 pm

I tried to install partimage 0.6.5 and I when I run "./configure --prefix=/usr && make && make install" I get an error saying "configure: error: *** newt library (libnewt) not found". I check for newt by typing 'rpm -q newt" and I get "newt-0.52.2-9" so this means I have newt, right? I think I need the libnewt but not quite sure how to install it because I tried to install it thru yum and rpm but libnewt can't be found.

Please help me on how to fix this.

primepixel
Posts: 3
Joined: Wed Aug 08, 2007 1:51 pm

Postby primepixel » Wed Aug 08, 2007 1:55 pm

Am a bit of a Linux n00b, but I'm having exactly the same problem.

I have these files:

/usr/lib/libnewt.so.0.51
/usr/lib/libnewt.so.0.51.6

what else should I have, and how do I get/install it (CentOS 4.5)?

primepixel
Posts: 3
Joined: Wed Aug 08, 2007 1:51 pm

Postby primepixel » Wed Aug 08, 2007 2:21 pm

Too many people referencing the wrong package name. The solution (for me at least):

yum install newt-devel

marXtevens
Posts: 2
Joined: Mon Aug 20, 2007 7:01 pm
Location: Chicago, IL
Contact:

Postby marXtevens » Mon Aug 20, 2007 8:37 pm

I am running a slackware 11.0 system, so I had to compile everything, no RPMs for me.

You can find libnewt (where $pkgver = 0.52.1) at:
ftp://ftp.debian.org/debian/pool/main/n ... rig.tar.gz

I also had to add another symbolic link for libnewt:
ln -s libnewt.so.0.52.1 libnewt.so.0.52

so that I had the following:
[email protected]:/usr/lib# ls -l libnew*
-rw-r--r-- 1 root root 206372 2007-08-20 11:32 libnewt.a
lrwxrwxrwx 1 root root 17 2007-08-20 11:32 libnewt.so -> libnewt.so.0.52.1*
lrwxrwxrwx 1 root root 17 2007-08-20 14:40 libnewt.so.0.52 -> libnewt.so.0.52.1*
-rwxr-xr-x 1 root root 151906 2007-08-20 11:32 libnewt.so.0.52.1*
[email protected]:/usr/lib#


Return to “Install”

Who is online

Users browsing this forum: No registered users and 1 guest