LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-12-2008, 01:36 PM   #1
hupdy
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Rep: Reputation: 0
Talking need help with libdcrypt-0.3 library installation


This is my first thread, I really didn't know where to put this question. It is related to programming, so I figure it should be here. When I try to install the libdcrypt-0.3 I get an error at the end. I am going to post my installation log. Maybe someone can help me.

Script started on Thu 09 Oct 2008 07:15:12 PM EDT
]0;David@localhost:/home/David/Documents[?1034h[root@localhost Documents]# cd ho/home/David/Download/libdcrypt-0.3
]0;David@localhost:/home/David/Download/libdcrypt-0.3[root@localhost libdcrypt-0.3]# ./configure --with-dmalloc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for GMP library... /usr/local/lib/libgmp.la
checking for overloaded C++ operators in gmp.h... checking for egrep... grep -E
yes
checking for mpz_xor... yes
checking size of GMP mp_limb_t... 4
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 memory.h... (cached) yes
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for st_atimespec in stat structure... no
checking for st_mtimespec in stat structure... no
checking for st_mtim in stat structure... yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for size_t... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for u_int64_t... yes
checking for u_int32_t... yes
checking for u_int16_t... yes
checking for u_int8_t... yes
checking for u_char... yes
checking for u_int... yes
checking for u_long... yes
checking for mode_t... yes
checking for ssize_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for working memcmp... yes
checking for getprogname... no
checking for clock_gettime... no
checking for isxdigit... yes
checking for bzero... yes
checking for memcpy... yes
checking for strchr... yes
checking for strrchr... yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... f95
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f95 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
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... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for f95 option to produce PIC... -fPIC
checking if f95 PIC flag -fPIC works... yes
checking if f95 supports -c -o file.o... yes
checking whether the f95 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
]0;David@localhost:/home/David/Download/libdcrypt-0.3[root@localhost libdcrypt-0.3]# gmake
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -g -O2 -Wall -Werror -c dcconf.c
In file included from dcrypt.h:25,
from dcinternal.h:31,
from dcconf.c:24:
dc_conf.h:118:1: error: "memmove" redefined
In file included from dc_conf.h:114,
from dcrypt.h:25,
from dcinternal.h:31,
from dcconf.c:24:
/usr/local/include/dmalloc.h:1158:1: error: this is the location of the previous definition
gmake: *** [dcconf.o] Error 1
]0;David@localhost:/home/David/Download/libdcrypt-0.3[root@localhost libdcrypt-0.3]# gmacke check
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -g -O2 -Wall -Werror -c dcconf.c
In file included from dcrypt.h:25,
from dcinternal.h:31,
from dcconf.c:24:
dc_conf.h:118:1: error: "memmove" redefined
In file included from dc_conf.h:114,
from dcrypt.h:25,
from dcinternal.h:31,
from dcconf.c:24:
/usr/local/include/dmalloc.h:1158:1: error: this is the location of the previous definition
gmake: *** [dcconf.o] Error 1
]0;David@localhost:/home/David/Download/libdcrypt-0.3[root@localhost libdcrypt-0.3]# gmake install
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -g -O2 -Wall -Werror -c dcconf.c
In file included from dcrypt.h:25,
from dcinternal.h:31,
from dcconf.c:24:
dc_conf.h:118:1: error: "memmove" redefined
In file included from dc_conf.h:114,
from dcrypt.h:25,
from dcinternal.h:31,
from dcconf.c:24:
/usr/local/include/dmalloc.h:1158:1: error: this is the location of the previous definition
gmake: *** [dcconf.o] Error 1
]0;David@localhost:/home/David/Download/libdcrypt-0.3[root@localhost libdcrypt-0.3]# exit

Script done on Thu 09 Oct 2008 07:16:43 PM EDT

Please any help is very appreciated.
 
Old 10-15-2008, 08:19 PM   #2
Pyrrhic
LQ Newbie
 
Registered: Dec 2007
Posts: 6

Rep: Reputation: 0
libdcrypt-0.3

Dear hupdy:

No, I doubt this is really the right forum for this question. That said, it is similar to issues with PERL CPAN installs.

Did you use:

./ <---note that with this script it should probably read:

./configure --with-dmalloc

gmake
gtest

...etc...

...or did you skip the "gtest" step? What did the 'test' step while installing this script have to say? Also, what is the status of the dmalloc library on the machine you are installing on? Is it properly installed?

Apologies if this is all 'way to simple but you can test for dmalloc like this:

% ls /lib/libdmalloc* /usr/lib/libdmalloc* /usr/share/lib/libdmalloc* /usr/local/lib/libdmalloc* /usr/local/share/lib/libdmalloc*

I was just looking at unanswered questions here on the forum and I am not an expert on this script/library. Just some suggestions for where to look...

Best,

Pyrrhic
 
Old 10-15-2008, 10:30 PM   #3
hupdy
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Well I found my answer. The problem with my installation was that I was using the current version of GCC-4.x where the files requires GCC-3.4.x. So I installed the Compat-34 and after it installed I typed export CC=gcc34 in the terminal, then I compiled it and it worked. Thanks for the help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
checking the installation status of a library Sulman Shah SUSE / openSUSE 2 11-01-2006 12:21 AM
Library Installation timrs Linux - Software 4 07-30-2006 08:58 PM
library installation problem ravalox Linux - Software 2 11-27-2004 07:15 PM
PROBLEM with Qt library and KDE installation from .deb lipkaj Debian 4 10-31-2003 06:43 AM
library installation adenardo Linux - General 2 12-15-2001 10:53 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration