Hi,
I am trying to compile a program called extundelete.
When I try to ./configure it I get the message above. I tried installing glibc and gcc. I guess I need g++ to install this? But I don't know how to get g++. Thanks much.
- searchfgold6789
PS I can include configure.log but I'll have to get it first.

error: C compiler cannot create executables
(7 posts) (3 voices)-
Posted 12 years ago #
-
Connect to the internet.
Open terminal:
#tazpkg get-install slitaz-toolchain
Retry ./configurePosted 12 years ago # -
OK, thank you very much for your reply, ./configure worked!! now I have these errors:
http://paste.ubuntu.com/906536/Posted 12 years ago # -
Find the first error: extundelete.cc:107:27: error: ext2fs/ext2fs.h: No such file or directory
Search the slitaz repo for missing file:
tazpkg search-pkgname ext2fs/ext2fs.hSearch result for file ext2fs/ext2fs.h
======================================================================
e2fsprogs-dev======================================================================
1 pkg(s) found with file: ext2fs/ext2fs.htazpkg get-install e2fsprogs-dev
Search for and install the tazpkg that contains each file that stops make until make is able to finish.
You can look at the README in the extracted source and other docs which should tell you the build depends.Posted 12 years ago # -
It can compile on SliTaz and I have done it before. Just follow mojo advice and install the -dev packages as detailed in the README and INSTALL files.
Posted 12 years ago # -
Thank you, installing e2fsprogs-dev fixed it. Thank you very much! I just have the warning:
===
/usr/bin/ld: warning: libcom_err.so.2, needed by /usr/lib/gcc/i486-pc-linux-gnu/4.4.1/../../../libext2fs.so, may conflict with libcom_err.so.3
===
but I think I will ignore it.Posted 12 years ago # -
You can safely ignore it yes. As a side note, I noticed the most files recovered come from the lost+found directory.
Posted 12 years ago #
Reply
You must log in to post.