cannot compute sizeof (char), 77

Everything about the installation and compilation

Moderator: feffer

gvr
Posts: 2
Joined: Thu Jul 06, 2006 9:59 am

cannot compute sizeof (char), 77

Postby gvr » Thu Jul 06, 2006 12:20 pm

./configure ends with

Code: Select all

.....
checking for fstatfs64... yes
checking for open64... yes
checking for char... yes
checking size of char... configure: error: cannot compute sizeof (char), 77
See `config.log' for more details.



config.log:

Code: Select all

#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 1


why
________
Last edited by gvr on Thu Feb 24, 2011 8:59 pm, edited 1 time in total.

solar
Posts: 4
Joined: Fri Jan 12, 2007 9:08 pm

Postby solar » Fri Jan 12, 2007 9:13 pm

+1
exactly the same

tried 0.6.5b3 & 0.7.2

solar
Posts: 4
Joined: Fri Jan 12, 2007 9:08 pm

Postby solar » Fri Jan 12, 2007 9:24 pm

./configure -blah-blah --disable-all-static helps at all

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

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

I have a slackware 11.0 system, so I compiled all the parts.

I tried the --disable-all-static, but that didn't help me.

However, I dug back in the log and found out it was missing libnewt, specifically libnewt.so.0.52:

[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*
-rwxr-xr-x 1 root root 151906 2007-08-20 11:32 libnewt.so.0.52.1*
[email protected]:/usr/lib# ln -s libnewt.so.0.52.1 libnewt.so.0.52
[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#

After creating the link and rerunning configure, it completed and I was able to run make && make install and I was done with that part.

int91h
Posts: 1
Joined: Mon Jun 14, 2010 7:19 am

hi

Postby int91h » Mon Jun 14, 2010 7:21 am

hi
just update LD_LIBRARY_PATH !

Code: Select all


export LD_LIBRARY_PATH=/lib/:/usr/lib/:/usr/local/lib/




JAMAL

feffer
Posts: 126
Joined: Tue Mar 17, 2009 4:30 am

Postby feffer » Mon Jun 14, 2010 9:47 pm

This thread is very old. In most cases, compiling partimage is unnecessary. It's in the repo of most common distros. Alternately, it can be run from SystemRescue CD and others. Partimage itself is not actively being developed, so I would hardly recommend compiling it, if it's not in your distro.

Regards,
feffer


Return to “Install”

Who is online

Users browsing this forum: No registered users and 1 guest