|
From: Robert B. <ha...@be...> - 2005-06-29 21:40:16
|
Good afternoon Scott,
Due to limited experience with the UNIX environment, I decided to manually
delete the line containing the malloc declaration as opposed to the CVS
route. However, your original instructions identified the declaration on
line 167 of myutils.c at the beginning of the myutils() function, but line
167 falls under the mymalloc() function, which I assumed was the reference
you were indicating.
I removed the declaration "char *malloc();" from myutils.c and reattempted
the "./configure" and "make" commands, but received error messages when
executing the "make" command. The following text below is the output of both
commands. Any assistance you can provide is appreciated!
-Robert Batesole
Robert@robbiebee /tmp/infomap-nlp-0.8.5
$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for sqrt in -lm... yes
checking for dbm_open in -lgdbm... no
checking for dbm_open in -lgdbm_compat... yes
checking for egrep... grep -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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking ndbm.h usability... yes
checking ndbm.h presence... yes
checking for ndbm.h... yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether lstat dereferences a symlink specified with a trailing
slash...
yes
checking whether stat accepts an empty string... no
checking for getcwd... yes
checking for memset... yes
checking for setlocale... yes
checking for sqrt... yes
checking for strchr... yes
checking for strdup... yes
checking for strstr... yes
checking for dbm_open... yes
checking for dbm_close... yes
checking for dbm_fetch... yes
checking for dbm_store... yes
configure: creating ./config.status
./config.status: line 305: NLP config.status 0.8.5
configured by ./configure, generated by GNU Autoconf 2.59,
with options ""
Copyright (C) 2003 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.: No such file
or d
irectory
config.status: creating Makefile
config.status: creating preprocessing/Makefile
config.status: creating search/Makefile
config.status: creating svd/Makefile
config.status: creating svd/svdinterface/Makefile
config.status: creating lib/Makefile
config.status: creating admin/Makefile
config.status: creating admin/infomap-build
config.status: creating admin/infomap-install
config.status: creating admin/Makefile.data
config.status: creating admin/default-params
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/man/man1/Makefile
config.status: creating doc/man/man5/Makefile
config.status: creating doc/html/Makefile
config.status: creating doc/html/tutorial/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Robert@robbiebee /tmp/infomap-nlp-0.8.5
$ make
Making all in .
make[1]: Entering directory `/tmp/infomap-nlp-0.8.5'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/tmp/infomap-nlp-0.8.5'
Making all in admin
make[1]: Entering directory `/tmp/infomap-nlp-0.8.5/admin'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/infomap-nlp-0.8.5/admin'
Making all in lib
make[1]: Entering directory `/tmp/infomap-nlp-0.8.5/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/infomap-nlp-0.8.5/lib'
Making all in search
make[1]: Entering directory `/tmp/infomap-nlp-0.8.5/search'
Makefile:200: arrayoutput.Po: No such file or directory
Makefile:201: associate.Po: No such file or directory
Makefile:202: files.Po: No such file or directory
Makefile:203: list.Po: No such file or directory
Makefile:204: model_params.Po: No such file or directory
Makefile:205: neighbors.Po: No such file or directory
Makefile:206: print_doc.Po: No such file or directory
Makefile:207: query.Po: No such file or directory
Makefile:208: search_utils.Po: No such file or directory
Makefile:209: toc.Po: No such file or directory
Makefile:210: utils.Po: No such file or directory
make[1]: *** No rule to make target `utils.Po'. Stop.
make[1]: Leaving directory `/tmp/infomap-nlp-0.8.5/search'
make: *** [all-recursive] Error 1
Robert@robbiebee /tmp/infomap-nlp-0.8.5
$
----- Original Message -----
From: "Scott Cederberg" <ced...@gm...>
To: "Robert Batesole" <ha...@be...>
Cc: <inf...@li...>
Sent: Tuesday, June 28, 2005 9:25 AM
Subject: Re: [infomap-nlp-users] InfoMap and Cygwin Compiling Problems
Hi Robert,
This is a bug that has been fixed in the CVS version of the
software. We're planning to release the fixed version shortly, but
until then you have two options:
1. Check out the latest CVS version and use that. (You can find
instructions on how to obtain this version by following the "CVS
Repository" link near the bottom of the Infomap SourceForge project
info page (http://sourceforge.net/projects/infomap-nlp/) and reading
the section entitled "Anonymous CVS Access".)
2. Edit the svd/svdinterface/myutils.c file. Go to line 167 in
myutils.c, and remove the obsolete line where "malloc" is declared,
right at the beginning of the myutils() function. After that
everything should work.
Please let me know if this works out for you. I'll try to get
the new release out by the end of the week, if you'd rather wait for
that.
Scott
|