compiling ragel on mavericks - osx-mavericks

I have downloaded ragel source code and trying to compile it.
I am not able to configure it. getting following error on running
./configure --prefix=PREFIX
-bash: ./configure: No such file or directory
I have download all necessary command line compilation tools. not sure what is missing.

It's much easier to use MacPorts. So after installation:
$ sudo port install ragel
and it will take care of downloading dependencies, and will already know how to configure the project.

Related

vcftools - installing on MAC

I'm trying to install vcftools on mac. Looking at previous posts on this issue, I made sure I've got Mac OS X developer tools (http://www.cnet.com/how-to/install-command-line-developer-tools-in-os-x/). I followed the procedure recommended in the official documantion (https://vcftools.github.io/examples.html). When I run from the command line:
./configure.ac
I get the following errors:
./configure.ac: line 4: syntax error near unexpected token [2.63]'
./configure.ac: line 4:AC_PREREQ([2.63])'
If I try:
./configure
It says:
-bash: ./configure: No such file or directory
as indeed there in no ./configure when I inspect the contents with:
ls
Can anyone point out where I am doing wrong. I've tried resources such as 'homebrew' but I didn't help.
Thanks a lot.
you can download it from
git clone https://github.com/vcftools/vcftools.git
cd vcftools
you will need to install autoconf, pkg-config, libtools, automake, and zlib.
run
./autogen.sh
then
./configure
follow the instructions here: https://github.com/vcftools/vcftools
I was having the same issue. Basically you need to install automake. This can be done using
brew install automake
Check this out https://www.biostars.org/p/306802/

Unable to `make` on CygWin

I am trying to do a configure-make-make install using Cygwin on my Windows 7 32 bit machine. I have checked, and I have the make package installed (version 4.1-1).
I am able to configure using ./configure --prefix=/home/user/myfolder. Next when I run the make command, I get the following: -bash: make: command not found. I am unable to figure out if this is due to the ./configure not executing properly, or it has something to do with my make package. How do I find out which it is? Does ./configure create an output file at the location prefix=/home/user/myfolder? If so, what is the extension of this file (.in? .am?)? Is there a way to manually point the make command to a file?

autoreconf: command not found in Cygwin on Windows

I'm trying to compile the nDPI library in using Cygwin on Windows. When I try to run autogen.sh file I get the following error
./autogen.sh: line 5: autoreconf: command not found
I've been looking around now for four days to compile this nDPI library on Windows, and I DO NEED to compile it on Windows.
How do I compile this library on Windows?, OR
Is there a link that actually works and I can follow their steps to compile this library?
Here is the autogen.sh
#!/bin/sh
/bin/rm -f configure config.h config.h.in src/lib/Makefile.in
autoreconf -ivf
./configure
Try install autoconf, automake and libtool. It's under Devel of the Cygwin setup program.
To build MSYS tools, you should use the autotools provided in the MSYS System Builder package:
http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=227249
autoconf-2.61-MSYS-1.0.11-1.tar.bz2
automake-1.10-MSYS-1.0.11-1.tar.bz2
libtool1.5-1.5.25a-20070701-MSYS-1.0.11-1.tar.bz2
Unpack them to the same location you extracted msys package.
I think you have to first solve the errors, since they indicate that you are lacking of some of the essential libraries. For example, the autoconf library...
If you are using Cygwin, you can get apt-cyg by:
lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg
install apt-cyg /bin
After that, you can use apt-cyg install xxx to install the lacking libraries.

./configure command not found, pkg-config

When trying to install pkg-config on a brand new install of 10.8.5 i got a ./configure: no such file or directory.
first I downloaded the source with git
git clone git://anongit.freedesktop.org/pkg-config
then I switched to the directory
cd /Users/nah/Desktop/pkg-config
when I run ls I can see the configure file but when I run
./configure --with-internal-glib
I get ./configure: no such file or directory. Even though I see the file in the pkg-config directory.
When I searched for answers online The two i saw were are you in the correct directory which i clearly am, and the second answer i saw was to use homebrew or Macports. I know homebrew and macports will work but that doesn't really answer the question it's sort of a work around. I than realized that the configure file wasn't executable so I ran chmod on it to make it executable but I get the same thing. The other thing I thought of was the configure file is configure.ac , a quick glance at a bunch of other source files on my computer and they all have configure files with no .ac.
I also tried dragging the executable configure file to terminal to run it and I got
line 1: syntax error near unexpected token [2.62}
/Users/nah/pkg-config/configure.ac: line 1: 'AC_PREREQ([2.62])'
do you think there's a problem with the configure script for Mountain lion, i did this on snow leopard about a month ago with no problems.
so in conclusion, i can't install pkg-config using normal ./configure; make; make install;
And would like to know way to solve problem with out homebrew or Macports work around.

aclocal version problem on Mac OSX Snow Leopard

I am trying to compile an open source program on Mac OSX and getting stuck trying to get the build configured. I have autoconf version 2.63 installed but trying to do reconfigure I get this error "aclocal.m4:14: error: this file was generated for autoconf 2.61." and "you should regenerate the build system entirely".
I researched this as best I could and most seemed to imply automake should be able to regenerate itself using the autoreconf command. Autoreconf fails as well with the exact same message.
Things I've tried: remaking and reinstalling the autoconf package, remaking and reinstalling the m4 package, running the above commands as root instead of as a user.
Anyone have any ideas?
Thanks,
- Mike
Look for script like autogen.sh, they usually contain the right order of tools to run.
In this case the problem seems to be aclocal

Resources