Re: [evlog-dev] evltc problem
James Keniston <[email protected]> Mon, 17 Mar 2003 10:02:43 -0800
| Newsgroups | gmane.linux.kernel.event-logging |
|---|---|
| Message-ID | <OFCCE94640.D0E84BAA-ON88256CEC.0061502E-88256CEC.00632046@us.ibm.com> |
As mentioned in the man page, evltc execs /lib/cpp. Actually, the original version execed /usr/bin/cpp, but when we ported it to other systems, we found that /lib/cpp existed on all the systems we were aware of, but /usr/bin/cpp did not. So we changed it. As it currently stands, you have a couple of options: 1. ln -s /usr/bin/cpp /lib/cpp OR 2. Rebuild evltc with -DCPPPATH=/usr/bin/cpp Possible improvements to evltc: a. More helpful error message after failed exec b. Consult CPPPATH environment variable. c. Look for /lib/cpp first, then /usr/bin/cpp, then ...? Comments? Jim |---------+--------------------------------------------> | | Michel Dagenais | | | <[email protected]> | | | Sent by: | | | [email protected]| | | ceforge.net | | | | | | | | | 03/17/03 09:08 AM | | | | |---------+--------------------------------------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| | | | To: Steve Woodruff <[email protected]> | | cc: evlog mailing list <[email protected]> | | Subject: Re: [evlog-dev] evltc problem | | | >--------------------------------------------------------------------------------------------------------------------------------------------------| > # /sbin/evltc -c iden.t > execv of cpp: No such file or directory > # which cpp > /usr/bin/cpp > # ls -l /usr/bin/cpp > -rwxr-xr-x 1 root root 511637 Mar 13 > 18:10 /usr/bin/cpp > > I don't see the problem. Any idea? On Linux strace is your friend, it will list all system calls and thus all the files looked for and should easily uncover the problem (looking for cpp somewhere else for example). ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ evlog-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/evlog-developers ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en