Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Does not make: aclocal #16

Open
davidshumway opened this issue Feb 21, 2016 · 2 comments
Open

Does not make: aclocal #16

davidshumway opened this issue Feb 21, 2016 · 2 comments
Milestone

Comments

@davidshumway
Copy link

Hello
Almost have it running. ./configure looks okay. However, during make there is an issue with aclocal. Someone recommends touch aclocal but this does not necessarily help. See below. Any ideas?

[dave@localhost xSDM]$ uname -a
Linux localhost 4.3.4-200.fc22.x86_64 #1 SMP Mon Jan 25 13:37:15 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Before touch:

[dave@localhost xSDM]$ make install

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/dave/Desktop/xSDM/xSDM/missing aclocal-1.15 
/home/dave/Desktop/xSDM/xSDM/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
Makefile:332: recipe for target 'aclocal.m4' failed
make: *** [aclocal.m4] Error 127

[dave@localhost xSDM]$ touch configure.ac aclocal.m4 configure Makefile.am Makefile.in

Afterward touch:

[dave@localhost xSDM]$ make
Making all in src
make[1]: Entering directory '/home/dave/Desktop/xSDM/xSDM/src'
depbase=`echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DPACKAGE_NAME=\"xsdm\" -DPACKAGE_TARNAME=\"xsdm\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"xsdm\ 1.0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xsdm\" -DVERSION=\"1.0.0\" -DHAVE_LIBZ=1 -DHAVE_LIBMCRYPT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STDIO_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_ZLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -I.    -Wall -g -O2 -MT main.o -MD -MP -MF $depbase.Tpo -c -o main.o main.c &&\
mv -f $depbase.Tpo $depbase.Po
main.c: In function ‘main’:
main.c:33:24: warning: passing argument 1 of ‘perror’ from incompatible pointer type [-Wincompatible-pointer-types]
                 perror(hdrout);
                        ^
In file included from xsdc.h:5:0,
                 from main.h:3,
                 from main.c:1:
/usr/include/stdio.h:846:13: note: expected ‘const char *’ but argument is of type ‘FILE * {aka struct _IO_FILE *}’
 extern void perror (const char *__s);
             ^
main.c:145:11: warning: unused variable ‘sdcSize’ [-Wunused-variable]
     off_t sdcSize = ftello(in);//FIXME: check if still needed
           ^
depbase=`echo xsdc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DPACKAGE_NAME=\"xsdm\" -DPACKAGE_TARNAME=\"xsdm\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"xsdm\ 1.0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xsdm\" -DVERSION=\"1.0.0\" -DHAVE_LIBZ=1 -DHAVE_LIBMCRYPT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STDIO_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_ZLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -I.    -Wall -g -O2 -MT xsdc.o -MD -MP -MF $depbase.Tpo -c -o xsdc.o xsdc.c &&\
mv -f $depbase.Tpo $depbase.Po
xsdc.c: In function ‘unixTimeToStr’:
xsdc.c:173:31: warning: pointer targets in passing argument 1 of ‘localtime’ differ in signedness [-Wpointer-sign]
     struct tm *ts = localtime(&time);
                               ^
In file included from xsdc.h:6:0,
                 from xsdc.c:1:
/usr/include/time.h:243:19: note: expected ‘const time_t * {aka const long int *}’ but argument is of type ‘uint64_t * {aka long unsigned int *}’
 extern struct tm *localtime (const time_t *__timer) __THROW;
                   ^
gcc -Wall -g -O2   -o xsdm main.o xsdc.o  -lmcrypt -lz 
make[1]: Leaving directory '/home/dave/Desktop/xSDM/xSDM/src'
Making all in tests
make[1]: Entering directory '/home/dave/Desktop/xSDM/xSDM/tests'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/dave/Desktop/xSDM/xSDM/tests'
make[1]: Entering directory '/home/dave/Desktop/xSDM/xSDM'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/dave/Desktop/xSDM/xSDM'
@davidshumway
Copy link
Author

Running make install was not working. However, sudo make install does work. xsdm is installed and runs. Going to test it with SDC file shortly.

@v3l0c1r4pt0r
Copy link
Owner

Were you using newest release of xsdm? I have tested build script against older release of automake and it was working on my setup. Tell me your autoconf/automake/aclocal revisions so I can reproduce your environment.

Running make install was not working

And it should not. You have to have rights to write to install directory so in most cases sudo is necessary. But not always (i.e. when installing to your home directory) so there is only make install in README.

@v3l0c1r4pt0r v3l0c1r4pt0r added this to the v1.0-rc3 milestone Feb 21, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants