I've been trying to follow the instructions for installing giggle-0.7. From the INSTALL file:
The simplest way to compile this package is:
cd' to the directory containing the package's source code and type./configure' to configure the package for your system.Running `configure' might take a while. While running, it prints some messages telling which features it is checking for.
Type `make' to compile the package.
Unfortunately running make makes it rather obvious that there is no make file in the root package directory. There are Makefile.am and Makefile.in, but running make Makefile.am and make Makefile.in doesn't do anything either.
The source is the tar file from this gnome.org page.
Any help is appreciated.
Edit 1 OS
I'm installing on CentOS 6.5.
Edit 2 config.log
The first sign of an error on config.log:
configure:4058: checking for gcc option to accept ISO C99 configure:4207: gcc -c -g -O2 conftest.c >&5 conftest.c:61: error: expected ';', ',' or ')' before 'text' conftest.c: In function 'main': conftest.c:115: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' conftest.c:115: error: 'newvar' undeclared (first use in this function) conftest.c:115: error: (Each undeclared identifier is reported only once conftest.c:115: error: for each function it appears in.) conftest.c:125: error: 'for' loop initial declarations are only allowed in C99 mode conftest.c:125: note: use option -std=c99 or -std=gnu99 to compile your code configure:4207: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Giggle" | #define PACKAGE_TARNAME "giggle" | #define PACKAGE_VERSION "0.7" | #define PACKAGE_STRING "Giggle 0.7"
I'm currently trying to see if I can figure anything out about this. Please let me know if I should post more (or all) of config.log.
sudo make install, which an unfortunate number of software developers instruct you to do when compiling their software?makecan do whatever it wants - it can run arbitrary scripts, it can add, remove, and edit files, and it can do anything a user would be able to do. By runningmakewith sudo, you're elevating the make script to root privileges and allowing to change the system in any way possible. Unless you're 110% confident that the Makefile won't screw with your system, it's not a good idea to run it with root privileges. Long story short: don't run anything withsudo, especially if it's just downloaded from a random developer, without knowing exactly what it does../configure --prefix=/path/to/somewhereto specify an installation directory where you have permission to write. This way you control what the Makefile installs and you don't have to runsudo make install. You will also need to update your search path (PATH) and the locations that your linker searches for shared library objects in this case.