Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Canīt run command "make" in OSX, posted by Mats McLund on Fri Jun 30 13:35:03 2006 
    icon2.gif   Re: Canīt run command "make" in OSX, posted by Steve Jones on Tue Jul 4 07:04:19 2006 
       icon2.gif   Re: Canīt run command "make" in OSX, posted by Mats McLund on Tue Jul 4 08:46:15 2006 
          icon2.gif   Re: Canīt run command "make" in OSX, posted by Gerald Ebberink on Tue Jul 4 08:52:47 2006 
             icon2.gif   Re: Canīt run command "make" in OSX, posted by Mats McLund on Tue Jul 4 13:07:53 2006 
                icon2.gif   Re: Canīt run command "make" in OSX, posted by Gerald Ebberink on Mon Jul 10 11:14:12 2006 
                   icon2.gif   Re: Canīt run command "make" in OSX, posted by Stefan Ritt on Mon Jul 10 11:15:25 2006 
Message ID: 1867     Entry time: Tue Jul 4 08:46:15 2006     In reply to: 1866     Reply to this: 1868
Icon: Reply  Author: Mats McLund  Author Email: mats.lund@nassjotryckeriet.se 
Category: Question  OS: Mac OSX  ELOG Version: 2.6.1 
Subject: Re: Canīt run command "make" in OSX 

Steve Jones wrote:

Mats McLund wrote:
Hello.

I think to test Elog in Mac G5 with OSX 10.4.6.

In the manual is following installationtext:

"Installation from the tarball:
Download the latest elog-x.x.x.tar.gz package.
Expand the compressed TAR file with tar -xzvf elog-x.x.x.tar.gz. This creates a subdirectory elog-x.x.x where x.x.x is the version number. In that directory execute make, which creates the executables elogd, elog and elconv."

The problem is when i try to run the command "make" in ~/elog-2.6.1 subdirectory. I get following message:
-bash: make: command not found

Now, Im not an "UNIX-hacker" so I will be glad if anyone maybe can help me?

Best regardīs
Mats McLund



Quote:
Typically one would install the Gnu compiler series and with that come 'gmake'. Barring that, and not knowing anything about OSx, if OSx comes with its own compiler series then make might be somewhere on the system but not in your path. Go to http://gcc.gnu.org/ and see if you an find a pre-built version of gcc -- all I found mentioned "darwin". Perhaps Apple has something in the way of a development colleciton?

Hi Steve.

I have now found a compiler on Apples Developer Tools --- they came as a CD from Apple with my Mac G5.

Great thanks to mr Thomas R. Vilberg for that tips!

I have now the "make"-commands to work as you see.

McLunds-G5:~/elog-2.6.1 admin$ ls -al
total 3984
drwxr-xr-x 21 1093 110 714 Jun 30 14:55 .
drwxrwxr-x 45 admin staff 1530 Jun 30 14:52 ..
-rwxr-xr-x 1 1093 110 17982 Oct 7 2005 COPYING
-rw-r--r-- 1 1093 110 3702 Mar 6 20:32 Makefile
-rw-r--r-- 1 1093 110 327 Oct 7 2005 README
drwxr-xr-x 11 1093 110 374 Apr 1 15:29 contrib
drwxr-xr-x 19 1093 110 646 Apr 1 15:29 doc
-rwxr-xr-x 1 root 110 35020 Jun 30 14:55 elconv
-rwxr-xr-x 1 root 110 43152 Jun 30 14:53 elog
-rwxr-xr-x 1 root 110 1806608 Jun 30 14:54 elogd
-rwxr-xr-x 1 1093 110 412 Mar 28 17:19 elogd.cfg
-rwxr-xr-x 1 1093 110 1256 Jan 19 09:19 elogd.init_template
drwxr-xr-x 3 1093 110 102 Apr 1 15:29 logbooks
drwxr-xr-x 5 1093 110 170 Apr 1 15:29 man
-rw-r--r-- 1 root 110 56868 Jun 30 14:53 mxml.o
-rw-r--r-- 1 root 110 46844 Jun 30 14:53 regex.o
drwxr-xr-x 31 1093 110 1054 Apr 1 15:29 resources
drwxr-xr-x 3 1093 110 102 Apr 1 15:29 scripts
drwxr-xr-x 8 1093 110 272 Apr 1 15:29 src
-rw-r--r-- 1 root 110 1672 Jun 30 14:53 strlcpy.o
drwxr-xr-x 3 1093 110 102 Apr 1 15:29 themes

But....

When I try to run "elogd -p 8080" or just "elogd" after installation I get message "-bash: elogd: command not found" Frown

You maybe have some other trick to start elogd?

Best regards and thanks for all help.

Mats McLund
ELOG V3.1.5-fe60aaf