OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2008-06-14 17:58:00

jorne
Member
Registered: 2008-06-14
Posts: 2

standalone Install

This is my fires post here and maybe this is not the place to post this? but I could not find any place post  installation problems or any answer on this question.

I been trying to install Potlatch without any success (Mac OS X 4.11), after a lot of trail and error I end up with this in the terminal:


Last login: Sat Jun 14 20:57:09 on ttyp1
Welcome to Darwin!
79:~ admin$ perl potlatch.pl --dev --trace ~ /Applications/MAMP/htdocs/potlatch/potlatch.swf
Can't locate SWF.pm in @INC (@INC contains: /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at potlatch.pl line 26.
BEGIN failed--compilation aborted at potlatch.pl line 26.
79:~ admin$

I can't find any file called SWF.pm on my system. Where should it be located and If it not exist, how do I install what I need? or maybe  this is not the problem at all?

Can someone please help me because I can't figure out what to do.

Last edited by jorne (2008-06-14 19:45:40)

Offline

#2 2008-06-14 20:14:50

jorne
Member
Registered: 2008-06-14
Posts: 2

Re: standalone Install

I solved this problem just a few minutes after I post it.  Found the prerequisites section on top of http://wiki.openstreetmap.org/index.php … _compiling.
(why do you linux people so often put relevant information for a task in different places?)

As you understand I'm not familiar with Linux or using the terminal in Mac OS X.

Now I have download ming-0.4.0.beta5.tar but can't figure out how to "build as normal"

./configure, make, make install

Can someone please explain how to use this "build as normal" command?

Been google this but do not get any relevant hits and my trial and error strategy is not working.

79:~ admin$ ming-0.4.0.beta5.tar/configure, make, make install
-bash: ming-0.4.0.beta5.tar/configure,: Not a directory
79:~ admin$ ming-0.4.0.beta5.tar/configure, make, make install
-bash: ming-0.4.0.beta5.tar/configure,: Not a directory
79:~ admin$ ming-0.4.0.beta5/configure, make, make install
-bash: ming-0.4.0.beta5/configure,: No such file or directory
79:~ admin$ ming-0.4.0.beta5/configure, make, make instal
-bash: ming-0.4.0.beta5/configure,: No such file or directory
79:~ admin$ /ming-0.4.0.beta5/configure, make, make install
-bash: /ming-0.4.0.beta5/configure,: No such file or directory
79:~ admin$ ming-0.4.0.beta5.tar/configure, make, make install
-bash: ming-0.4.0.beta5.tar/configure,: Not a directory
79:~ admin$ ming-0.4.0.beta5/configure, make, make install
-bash: ming-0.4.0.beta5/configure,: No such file or directory
79:~ admin$ ming-0.4.0.beta5/configure, make, make instal
-bash: ming-0.4.0.beta5/configure,: No such file or directory
79:~ admin$
79:~ admin$ ming-0.4.0.beta5/ make, make install
-bash: ming-0.4.0.beta5/: is a directory
79:~ admin$ ming-0.4.0.beta5.tar/, make, make install
-bash: ming-0.4.0.beta5.tar/,: Not a directory
79:~ admin$ ming-0.4.0.beta5./, make, make install
-bash: ming-0.4.0.beta5./,: No such file or directory
79:~ admin$ ming-0.4.0.beta5./make, make install
-bash: ming-0.4.0.beta5./make,: No such file or directory
79:~ admin$ ming-0.4.0.beta5.tar/configure
-bash: ming-0.4.0.beta5.tar/configure: Not a directory
79:~ admin$ /ming-0.4.0.beta5.tar/configure
-bash: /ming-0.4.0.beta5.tar/configure: No such file or directory
79:~ admin$ ming-0.4.0.beta5/configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... powerpc-apple-darwin8.11.0
checking host system type... powerpc-apple-darwin8.11.0
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
79:~ admin$ ming-0.4.0.beta5.tar/configure
-bash: ming-0.4.0.beta5.tar/configure: Not a directory
79:~ admin$ make, make install
-bash: make,: command not found
79:~ admin$ make             
-bash: make: command not found
79:~ admin$ make, make install
-bash: make,: command not found
79:~ admin$ sudo make install
Password:
sudo: make: command not found

Last edited by jorne (2008-06-14 20:36:13)

Offline

#3 2008-06-14 23:30:37

emj
Member
From: .se (59.3N17.99E) 0735969076
Registered: 2006-06-18
Posts: 949

Re: standalone Install

First off that long trail and error should be replaced with this:

cd ming-0.4.0.beta5
./configure

http://www.libming.net/moin.cgi/Mac_OS_X_Installation


Second you will need to install Developers Tools that is available on Disc 2 of MacOSX, install X11.app as well when you are doing this. (can't read more need to go to bed).

Last edited by emj (2008-06-14 23:33:47)

Offline

Board footer

Powered by FluxBB