Thu 24 Jul 2003 04:27:06 PM UTC, original submission:
Hi all!
I checked in a first version of an gomd-cvs ebuild into the gentoo portage tree.
Everything looks good, but compile.sh needs to take care that there are systems who install into a staging directory and then merge everything into the system.
See what happens here:
The ebuild checks out everything from cvs and then calls compile.sh:
--------------------------------
| GOMD CODE COMPILATION SCRIPT |
--------------------------------
1)INITIALIZING...
This program will look for required progs.
If all goes right then compiles the daemon,
the library and the examples to test the library.
2)LOOKING FOR REQUIRED PROGRAMS
This script uses 'find' to look for programs.
On 'old' machines each search can take a while.
- Searching commoncpp... (strictly required)
=> Commoncpp files found (using locate)...
- Searching libgtop... (not strictly required)
=> Libgtop files found (using locate)...
=> Using Makefile.with_libgtop
3)LIBRARY CODE COMPILATION
- Entering library directory.
- Cleaning up code...
RM *.o
RM libgomd.so.1.0.1
RM sample/libgomdsample1
RM sample/test
- Compile library code...
CC netCode.cpp
CC libgomd.cpp
CC libgomderrno.cpp
LD libgomd.so.1.0.1
- Binary size before striping...
Size: 132KB
- Striping binary...
- Binary size after striping...
Size: 36KB
4)LIBRARY-EXAMPLES CODE COMPILATION
- Entering library/examples directory
- Cleaning up code...
RM *.o
RM *.app
- Compile examples code...
CC cppclient.cpp
LD cppclient.app
- Binary size before striping...
Size: 12KB
- Striping binary...
- Binary size after striping...
Size: 8KB
5)DAEMON CODE COMPILATION
- Entering daemon directory.
- Cleaning up code...
RM *.o
RM gomd
RM /usr/sbin/gomd
ACCESS DENIED unlink: /usr/sbin/gomd
/bin/rm: cannot remove `/usr/sbin/gomd': Permission denied
make: *** [clean] Error 1
<ERROR> make failed!
<ERROR> FORCED EXIT
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-gomd-cvs-0.0_alpha-2439.log"
unlink: /usr/sbin/gomd
--------------------------------------------------------------------------------
Regards
Michael
you can reach me via mail to
tantive at gentoo dot org
|