Compilation under Debina 3.1a gcc3

Everything about the installation and compilation

Moderator: feffer

arosoft
Posts: 1
Joined: Tue May 05, 2009 5:45 am
Contact:

Compilation under Debina 3.1a gcc3

Postby arosoft » Thu Jul 01, 2010 8:15 pm

How to compile partimage under Debian 3.1a ?????
================================================

compile slang-2.2.2.tar.gz
edit ./modules/fork-module.c
/* MAKE_ICONSTANT("WCONTINUED", WCONTINUED), */
./configure
make
make install

compile Python-2.6.5.tgz
Message from compilation of newt ...
/usr/local/include/python2.6/pyconfig.h:1031:1:
Warnung: »_POSIX_C_SOURCE« redefiniert
Therefore ...
edit /usr/local/include/python2.6/pyconfig.h
/* #define _POSIX_C_SOURCE 200112L */

compile popt-1.6.4.tar.gz
./configure
make
make install

compile newt-0.52.11.tar.gz
./configure
Edit Makefile
(Original line in the Makefile is -I/usr/include/$$ver)
_snackmodule.so: snackmodule.c $(LIBNEWTSH)
for ver in $(PYTHONVERS) ; do \
mkdir -p $$ver ;\
$(CC) $(CFLAGS) -I/usr/local/include/$$ver
make
cp libnewt.pc.in /usr/local/lib/pkgconfig/libnewt.pc
make install
ldconfig -v

compile bzip2-1.0.5.tar.gz
./configure
make
make install

# It does not work with openssl,
# and I need only partimage and not partimaged
# But I have made one trial with it ...
compile openssl-1.0.0a.tar.gz
./config
make
make install

partimage
Bad ssl trial
./configure --with-ssl-headers=/usr/local/ssl/include/openssl --with-ssl-lib=/usr/local/ssl/lib
make
But the result is wrong ...
netclient.cpp: In constructor `CNetClient::CNetClient(bool, bool)':
netclient.cpp:46: error: invalid conversion from `const SSL_METHOD*' to `
SSL_METHOD*'
Next trial
./configure --disable-ssl
make

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

Postby feffer » Fri Jul 02, 2010 12:51 am

Not sure how to resolve the compile issue, but partimage is already in the debian repos. Just apt-get install...


Return to “Install”

Who is online

Users browsing this forum: No registered users and 2 guests