buggeneral openMosix daemon - Bugs: bug #4460, compile.sh needs some fixes for...

 
 

bug #4460: compile.sh needs some fixes for gentoo

Submitted by:  None
Submitted on:  Thu 24 Jul 2003 04:27:06 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Gian Paolo Ghilardi <rejected>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 23 Aug 2003 08:06:02 PM UTC, comment #2:

Problem solved.
Now gomd includes a new install.sh script to install the code. This script checks for root permissions.

Gian Paolo Ghilardi <rejected>
Project AdministratorIn charge of this item.
Fri 22 Aug 2003 10:40:15 PM UTC, comment #1:

Hi tantive.

I'm working to fix this problem.
As you notice, the compilation script needs root privileges to install the library in /usr/src.

ASAP I'll fix this problem.

Thanks for signaling me this problem.
CU on IRC oM channel.

<rejected>

Gian Paolo Ghilardi <rejected>
Project AdministratorIn charge of this item.
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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 19 Feb 2004 01:01:43 AM UTCrejectedStatusPostponed=>Fixed
Sat 23 Aug 2003 08:06:02 PM UTCrejectedOpen/ClosedOpen=>(Error - Not Found)
Fri 22 Aug 2003 10:40:52 PM UTCrejectedAssigned toNone=>NA
Fri 22 Aug 2003 10:40:15 PM UTCrejectedStatusNone=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1