Hej everyone,
I'm trying to update my autoconf since I need version 2.62 or newer and Mac OSX 10.6.8 only provides the old 2.61. (Eventuall, I am trying to install the SAGA-GIS API).
I followed these instructions: http://www.mattvsworld.com/blog/2010/02/install-the-latest-autoconf-and-automake-on-mac-os-10-6/
But: Whenever I work these steps through, nothing is done.
make install-recursive
Making install in .
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
I installed the tools in usr/bin since this is where the old tool lay. Is this correct?
Thanks for your support, I really need this SAGA-GIS but these tools should be up to date anyway, I guess!
You should use macports as this provides a easy to use interface that can be updated pretty much like a FreeBSD distro, using a single command.
You shouldn't install into /usr/bin; that's a very bad idea; instead use /usr/local (macports actually uses /opt/local) and just ensure that your $PATH has /usr/local/bin:/opt/local/bin:/usr/bin so your newer versions are used instead.
Related
UPDATE: Solved with the solution here
I have spent the better part of my day trying to get ImageMagick to work with Grunt, with no luck. Grunt seems to be okay, but ImageMagick not so much, even though I've run the test on ImageMagick.org to make sure that it's installed correctly (I used HomeBrew for the install).
I get this error when trying to run a task:
Warning: Command failed: identify: unable to load module
'/usr/local/Cellar/imagemagick/6.9.2-4/lib/ImageMagick//modules-
Q16/coders/jpeg.la': file not found # error/module.c/OpenModule/1300.
identify: no decode delegate for this image format 'JPEG' #
error/constitute.c/ReadImage/501.
I've tried the solutions here and here, but none of them have helped.
(FYI I'm new to using the command line.)
Help?
As with any homebrew problem, I would suggest you run
brew doctor
first, to try and sort things out. It is an excellent diagnosis tool.
Now, to your specific problem... mmmm... the /opt/X11 part of your error message worries me because homebrew installs in /usr/local/bin and /usr/local/Cellar so your ImageMagick should not be looking anywhere in /opt at all. I guess you have installed freetype via MacPorts or some method other than homebrew.
I would suggest you install the freetype stuff using homebrew, i.e.
brew install freetype
Then I would suggest uninstalling any other freetype stuff you have installed any other way. Finally, I would suggest you check your PATH environment variable and make it point to /usr/local/bin before anything in /opt. You will need to log out and back in for the new PATH to take effect - you can check your PATH like this:
echo $PATH
and change it by editing $HOME/.profile if you need to.
The homebrew version of freetype provides version 19 of the library and is therefore compatible with the homebrew ImageMagick version.
Also, I am a little disconcerted by the X11 part in your error message - modern Macs don't really use X11 any more and it doesn't ship with OSX. Let's see if the above ideas sort you out before worrying about that too much though - unless you know, and can say for sure, that you need X11.
What are some less painful ways to install Ruby on AIX?
I found out that using RVM to install Ruby might be the best option. However, installing RVM itself seems like really maddening. I found an article from IBM website on how to install RVM but there are so many prerequisites for it that I feel like it will take me days to get all that stuff installed and get working:
However, RVM does have some prerequisites. Before you continue, check your system and be sure that you have the bash, git, tar, curl, gunzip, and bunzip2 utilities installed locally. In addition, your system must have the Readline, IConv, zLib, OpenSSL, and Autoconf packages to build the Ruby interpreters. You must have the Bash shell to install RVM, but you can use RVM with the Z shell version 4.3.5 or higher after RVM is installed. git is required to automatically update RVM, and this is explained shortly.
I looked up git and it has at least 10 prerequisites (includes Python which I know has tons of prerequisites as well).
Is there any way I can install all those prerequisites in once?
http://www.ibm.com/developerworks/aix/library/au-aix-manage-ruby/
I managed to get this done a couple of years ago (ruby 2.0.0).
I installed by compiling it from source as I did not have root access and wanted to install it in an afs directory anyway.
Here is my SO question and the my answer to my own question:
How do I configure ruby to compile in 64 bit mode on AIX
Here are some notes I had on how to do this as well.
if I recall using /usr/bin/ksh93 provided a huge speedup, I for get the details as to why, but using the default ksh installed on our servers was painfully slow.
export LIBPATH=/usr/lib
export CONFIG_SHELL=/usr/bin/ksh93
export OBJECT_MODE=64
./configure --enable-shared --enable-load-relative --disable-install-doc --prefix=your_install_path_here --exec-prefix=your_install_path_here/aix CC="gcc" CFLAGS="-maix64 -mminimal-toc" CXX="g++" CXXFLAGS="-maix64 -mminimal-toc" NM="nm -X64" AR="ar -X64" LDFLAGS="-maix64 -Wl,-bbigtoc" EXTLDFLAGS="-maix64 -Wl,-bbigtoc" DLDFLAGS="-shared -maix64 -Wl,-bbigtoc"
I would like to install a new version but this was really painful at the time.
Update
Another less painful way to use ruby on AIX is to install JRuby. I have done that as well, and make use of it for gui's via SWT. The biggest downside with JRuby is that it has to spin up a JVM, which takes some time. This is not a big deal for long running programs, but for short scripts it can be noticeable
I have two questions regarding make on my Mac: one regarding installation of a second make flavor, the second regarding how to manage the two flavors.
I need to install BSD make on my Mac, but I don't want to remove the GNU make that is standard on the Mac; Berkeley is for a special project. In spite of the extensive resources for installing BSD, I haven't been able to figure out where to get and how to install that single program. What is the best way to do this?
I'm thinking that I'll need to put it in /usr/local/bin while GNU make, which was provided by the Mac OS developer tools, will stay where it is in /bin. Then I can manage which make is called with an alias. I'm still a *nix newbie; is this a reasonable strategy or is there a better way?
Installing BSD make
If you don't already have a /usr/bin/bsdmake (apparently it used to come with OS X/Xcode, but no longer does), install Homebrew, then:
brew install bsdmake
GNU co-habitation
To avoid conflicts with GNU make, Homebrew will install BSD make as bsdmake. In most cases it should be sufficient to build your software with bsdmake all. Sometimes you may have to tell it that your BSD make is called bsdmake and not make.
Removal
If you decide to get rid of BSD make for whatever reason, Homebrew will be happy to clean up for you by invoking:
brew uninstall bsdmake
Install macports and then use it to install bsdmake or bmake. They will be installed into /opt/local/bin (you will have to adjust your $PATH within your ~/.profile to access them easily).
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
Hi i downloaded souce for unix version 6, i want to study it and test it. I am running Snow Leopard on a macbook pro.
1)Is there a way to compile it in mac. If i comile using make or gmake i am getting the following error.
*** Error: Couldn't find an i386-*-elf version of GCC/binutils.
*** Is the directory with i386-jos-elf-gcc in your PATH?
*** If your i386-*-elf toolchain is installed with a command
*** prefix other than 'i386-jos-elf-', set your GCCPREFIX
*** environment variable to that prefix and run 'make' again.
*** To turn off this error, run 'gmake GCCPREFIX= ...'.
2)I also want to run it in a virtual machine,I have VMWare installed on my machine. I don't know how to do that.
Download tarballs for gcc and binutils, expand them, then:
$ cd binutils-2.15
$ ./configure --target=i386-jos-elf
$ make
$ make install
$ cd ../gcc-3.4.1
$ ./configure --target=i386-jos-elf
$ make
$ make install
You will of course need to update the paths. (I got these instructions from MIT's OpenCourseWare.)
You'll have to go through the process of creating a new virtual machine and formatting and installing the OS onto its disk. I've used VirtualBox with some success, but I have no experience with VMWare; you're on your own there.
You might look into macports.org. It has several packages that look useful, notably "i386-elf-binutils". It installs into /opt/local/*, so you may need to make sure /opt/local/bin/ is in your path. (Although I believe it takes care of that by default.)
EDIT: Or maybe not. After a little more research, I wonder if these instructions and downloads are what you're looking for.
EDIT again: Corrected the download link. Sorry about that!
The build system you are using seems to require an ELF tool chain (used by Linux).
You could try to figure out if that can be changed, but since you have VMWare, try to compile it under a virtualized Linux (minimal Debian is quite light-weight).
As an alternative you may compile bournesh on Mac OS X.
http://freshmeat.net/projects/bournesh/