Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 168 of 806  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  1867   Tue Jul 4 08:46:15 2006 Reply Mats McLundmats.lund@nassjotryckeriet.seQuestionMac OSX2.6.1Re: 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
  1868   Tue Jul 4 08:52:47 2006 Reply Gerald Ebberinkg.h.p.ebberink@nclr.nlQuestionMac OSX2.6.1Re: Canīt run command "make" in OSX

Mats McLund wrote:


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


Mats,

What you might want to try is the following (it works for linux which has bash)

in the elog directory run "./elogd -p 8080" you see the dot slash in there that means it should run the file in the local directory.

of that works you could try run "make install" in which case it will be installed in the directory where it can be found as a command.

these are just my 2 cents.
  1869   Tue Jul 4 13:07:53 2006 Reply Mats McLundmats.lund@nassjotryckeriet.seQuestionMac OSX2.6.1Re: Canīt run command "make" in OSX

Gerald Ebberink wrote:

Mats McLund wrote:


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


Mats,

What you might want to try is the following (it works for linux which has bash)

in the elog directory run "./elogd -p 8080" you see the dot slash in there that means it should run the file in the local directory.

of that works you could try run "make install" in which case it will be installed in the directory where it can be found as a command.

these are just my 2 cents.


Hello Gerald.

Tank you for your help!

But..... Frown

When I run ./elogd -p 8080 I get "Bus error" message.

Best regards

Mats McLund
  1870   Wed Jul 5 00:18:29 2006 Reply Arno Teunissearno.teunisse@hetnet.nlBug reportWindows2.6.1-6Re: Corrupt page link

Ulrich Trüssel wrote:
If a loggbook contains more than one page of entries, above and under the list are links for changing the page by number (or privous / last and all) conatining links looking like "http://localhost:8080/logbook/page2?mode=mode". This is the correct link and will work until Version 2.6.1-5!

In Version 2.6.1-6 the link is corrupted and look always like "http://localhost:8080/logbook/pag"


In this version, the above is true. It also has corrupted entries when clicking : Full | Summary | Threaded.

On MSExplorer and Firefox only a part of the link is shown in the left-down corner of the browser :
http://localhost:8080/?mo

No matter what button you click.

It should be : http://localhost:8080/?mode=full
http://localhost:8080/?mode=Summary
http://localhost:8080/?mode=Attachments

I'v tested is with the default elogd.cfg file which comes with the installation.

Something is going wrong here.

When importing a csv text file the above is introduced also.

Just installed the previous version :
====================================
[C:\Program Files\ELOG]elogd -c elogd.cfg
elogd 2.6.1 built May 24 2006, 08:59:09 revision 1688
Indexing logbooks ... done
Server listening on port 8080 ...

And the problem is gone. !!!!

problem is in version :
==========================
[C:\Program Files\ELOG1]elogd -c elogd.cfg
elogd 2.6.1 built Jun 13 2006, 08:43:21 revision 1691
Indexing logbooks ... done
Server listening on port 8080 ...

I love elog , for it's simplicity,
but will not upgrade to the lastest release untill this is solved.
  1871   Wed Jul 5 12:51:25 2006 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows2.6.1-6Re: Corrupt page link

Arno Teunisse wrote:
Just installed the previous version :
====================================
[C:\Program Files\ELOG]elogd -c elogd.cfg
elogd 2.6.1 built May 24 2006, 08:59:09 revision 1688
Indexing logbooks ... done
Server listening on port 8080 ...

And the problem is gone. !!!!

problem is in version :
==========================
[C:\Program Files\ELOG1]elogd -c elogd.cfg
elogd 2.6.1 built Jun 13 2006, 08:43:21 revision 1691
Indexing logbooks ... done
Server listening on port 8080 ...


Thanks for your detailed information. The hint with the two different revisions heally helped. I fixed that in revision 1695, and made an intermediate release 2.6.1-7. This will fix the problem. Can you please check that this is working?
  1872   Mon Jul 10 11:14:12 2006 Reply Gerald Ebberinkg.h.p.ebberink@nclr.nlQuestionMac OSX2.6.1Re: Canīt run command "make" in OSX

Mats McLund wrote:


Hello Gerald.

Tank you for your help!

But..... Frown

When I run ./elogd -p 8080 I get "Bus error" message.

Best regards

Mats McLund


Hello Mats,

This sounds like something I have not encountered, so I think you'll need to wait for Mr. Ritt to solve this.
  1873   Mon Jul 10 11:15:25 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionMac OSX2.6.1Re: Canīt run command "make" in OSX

Gerald Ebberink wrote:
This sounds like something I have not encountered, so I think you'll need to wait for Mr. Ritt to solve this.


No, I can't solve this becaue I have no MAC.

Sorry,

Stefan
  1875   Thu Jul 13 08:11:33 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionLinuxELOG V2.6.Re: Setting Subject for ELog email notification

Alan Stone wrote:
Hi,

I have the following elogd.cfg syntax:

; Email notification
Suppress Email to users = 1
Omit Email To = 1
User Email Subject = $subject
Use Email Heading Edit = $subject
Email Report Notify-CMSROC = alstone@fnal.gov

1) The subject is using some default, instead of capturing the $subject string (as
it does with Reply).


You made a typo. It should be

Use Email Subject = $subject

instead of User Email ...


Alan Stone wrote:
2) I want to control the output header "A new entry...".


You do with with

Use Email Heading = $subject

The option Use Email Heading Edit = $subject is only for entries which are edited (as opposed to new entries). Just read the manual!


Alan Stone wrote:
3) The formatting of email body is awkward. For example, "AuthorAlan Stone"
should have at least a space, and maybe a hyphen or colon, "Author: Alan Stone"


The email is formatted in HTML. Standard email programs like Thunderbird display them properly. If you email client has a problem with it, you can switch to plain text encoding with

Email encoding = 1

Best regards,

Stefan
ELOG V3.1.5-3fb85fa6