install faile on ppc64

Everything about the installation and compilation

Moderator: feffer

jokerlishuo
Posts: 1
Joined: Tue Dec 10, 2013 9:58 am

install faile on ppc64

Postby jokerlishuo » Tue Dec 10, 2013 10:15 am

[[email protected] isosoft]# ls
bzip2-1.0.6 gzip-1.6 newt-0.52.16 partimage-0.6.9.tar.bz2 slang-2.1.4.tar.gz zlib-1.2.8.tar.gz
bzip2-1.0.6.tar.gz gzip-1.6.tar.gz newt-0.52.16.tar.gz slang-2.1.4 zlib-1.2.8
[[email protected] isosoft]# tar jxf partimage-0.6.9.tar.bz2
[[email protected] isosoft]# ls
bzip2-1.0.6 gzip-1.6 newt-0.52.16 partimage-0.6.9 slang-2.1.4 zlib-1.2.8
bzip2-1.0.6.tar.gz gzip-1.6.tar.gz newt-0.52.16.tar.gz partimage-0.6.9.tar.bz2 slang-2.1.4.tar.gz zlib-1.2.8.tar.gz
[[email protected] isosoft]# cd partimage-0.6.9
[[email protected] partimage-0.6.9]# ls
ABOUT-NLS autogen.sh config.guess config.sub COPYING INSTALL m4 missing po src
aclocal.m4 BUGS config.h.in configure depcomp install-sh Makefile.am mkinstalldirs README THANKS
AUTHORS ChangeLog config.rpath configure.ac FORMAT ltmain.sh Makefile.in partimage.lsm README.partimaged
[[email protected] partimage-0.6.9]# ./configure --prefix=/usr/local/partimage
checking build system type... powerpc64-unknown-linux-gnu
checking host system type... powerpc64-unknown-linux-gnu
checking target system type... powerpc64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf64ppc) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking for gawk... (cached) gawk
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf64ppc
checking if the linker (/usr/bin/ld -m elf64ppc) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf64ppc) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf64ppc) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for pthread_create in -lpthread... yes
checking for BZ2_bzopen in -lbz2... yes
checking for newtCenteredWindow in -lnewt... yes
checking for gzwrite in -lz... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for strings.h... (cached) yes
checking limit.h usability... no
checking limit.h presence... no
checking for limit.h... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether setpgrp takes no argument... yes
checking for getwd... yes
checking for strerror... yes
checking for strdup... yes
checking for atoll... yes
checking for strtoll... yes
checking for setpgid... yes
checking for fstat64... yes
checking for fstatfs64... yes
checking for open64... yes
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long int... 8
checking size of unsigned long long... 8
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for getopt.h... (cached) yes
checking for sys/types.h... (cached) yes

checking for openssl... /usr/bin/openssl
configure: checking for SSL Library and Header files ... ...
checking "for rsa.h crypto.h x509.h pem.h ssl.h err.h"... (/usr/include/openssl) yes
checking for CRYPTO_lock in -lcrypto... yes
checking for SSL_CTX_new in -lssl... yes
checking for crypt in -lcrypt... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/shared/Makefile
config.status: creating src/shared/pathnames.h
config.status: creating src/client/Makefile
config.status: creating src/client/fs/Makefile
config.status: creating src/server/Makefile
config.status: creating m4/Makefile
config.status: creating po/Makefile.in
config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating config.h
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands

[[email protected] partimage-0.6.9]# make
make all-recursive
make[1]: Entering directory `/isosoft/partimage-0.6.9'
Making all in m4
make[2]: Entering directory `/isosoft/partimage-0.6.9/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/isosoft/partimage-0.6.9/m4'
Making all in po
make[2]: Entering directory `/isosoft/partimage-0.6.9/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/isosoft/partimage-0.6.9/po'
Making all in src
make[2]: Entering directory `/isosoft/partimage-0.6.9/src'
Making all in shared
make[3]: Entering directory `/isosoft/partimage-0.6.9/src/shared'
CXX common.o
CXX access.o
CXX net.o
CXX exceptions.o
CXX messages.o
CXX privs.o
CXX image_disk.o
AR libshared.a
make[3]: Leaving directory `/isosoft/partimage-0.6.9/src/shared'
Making all in client
make[3]: Entering directory `/isosoft/partimage-0.6.9/src/client'
Making all in fs
make[4]: Entering directory `/isosoft/partimage-0.6.9/src/client/fs'
CXX fs_base.o
CXX fs_afs.o
CXX fs_ext2.o
CXX fs_fat.o
CXX fs_hpfs.o
CXX fs_jfs.o
CXX fs_ntfs.o
CXX fs_reiser.o
CXX fs_hfs.o
CXX fs_ufs.o
CXX fs_xfs.o
AR libfs.a
make[4]: Leaving directory `/isosoft/partimage-0.6.9/src/client/fs'
make[4]: Entering directory `/isosoft/partimage-0.6.9/src/client'
CXX netclient.o
CXX imagefile.o
imagefile.cpp: In member function 鈥榲oid CImage::write(void*, DWORD, bool)鈥

imagefile.cpp:348: error: cannot convert 鈥榞zFile_s**鈥to 鈥榞zFile_s*鈥for argument 鈥鈥to 鈥榠nt gzwrite(gzFile_s*, const void*, unsigned int)鈥
imagefile.cpp: In member function 鈥榲oid CImage::read(char*, DWORD, bool)鈥

imagefile.cpp:398: error: cannot convert 鈥榞zFile_s**鈥to 鈥榞zFile_s*鈥for argument 鈥鈥to 鈥榠nt gzread(gzFile_s*, void*, unsigned int)鈥
imagefile.cpp: In member function 鈥榲oid CImage::closeReading(bool)鈥

imagefile.cpp:578: error: cannot convert 鈥榞zFile_s**鈥to 鈥榞zFile_s*鈥for argument 鈥鈥to 鈥榠nt gzclose(gzFile_s*)鈥
imagefile.cpp: In member function 鈥榲oid CImage::closeWriting()鈥

imagefile.cpp:611: error: cannot convert 鈥榞zFile_s**鈥to 鈥榞zFile_s*鈥for argument 鈥鈥to 鈥榠nt gzclose(gzFile_s*)鈥
make[4]: *** [imagefile.o] Error 1
make[4]: Leaving directory `/isosoft/partimage-0.6.9/src/client'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/isosoft/partimage-0.6.9/src/client'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/isosoft/partimage-0.6.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/isosoft/partimage-0.6.9'
make: *** [all] Error 2


what should i do?
i don't 'make' success~~~~
help me!

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

Re: install faile on ppc64

Postby feffer » Thu Dec 12, 2013 10:42 pm

It is far easier if you can install the package from your repo. Installing from source might be difficult now because partimage has not been actively developed for a while. The architecture you're using may have changed significantly since the last partimage version.


Return to “Install”

Who is online

Users browsing this forum: No registered users and 1 guest