Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 30 November 2024, 04:42:48 pm

Login with username, password and session length

Visit the Official Endian Reference Manual  HERE
14261 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Development
| |-+  Contribute Your Customisations & Modifications
| | |-+  efw - devel platform
0 Members and 3 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: efw - devel platform  (Read 42903 times)
mvrk
Full Member
***
Offline Offline

Posts: 26


« on: Friday 27 November 2009, 03:30:16 am »

Hi, does anyone have a tutorial to build efw RPMS ?

I've installed efw 2.3 RC1, and then tried to substitute some RPMS (libstdc++, rpm, kernel) so i could install rpm-build, rpm-devel, kernel-devel, etc..

Now, when i try to rebuild for example glibc src rpm, or any other src rpm, i get this error:

checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
error: Bad exit status from /var/tmp/rpm-tmp.34812 (%build)
Logged
mrkroket
Hero Member
*****
Offline Offline

Posts: 495


« Reply #1 on: Friday 27 November 2009, 06:12:01 am »

Do not use 2.3 RC1. Use 2.3 Final, it has been greatly improved.

About devel RPMS, just use the parameter --nodeps on some rpm that refuse to install due to dependency errors, especially gcc and glibc.

rpm -Uvh --nodeps <yourrpm.rpm>

This way you can install all devel rpms. Kernel devel is a problem yet. The 2.2 devel kernel rpm is similar, but not the same. Some thinks works, other don't. 2.3 SRPMS brings a kernel source, but doesn't install well.
Logged
mvrk
Full Member
***
Offline Offline

Posts: 26


« Reply #2 on: Friday 27 November 2009, 11:15:30 pm »

ok, now its working ok, i didn't installed the glibc-kernheaders-2.4-9.1.100.EL.endian1  package, thats why it was failing.

and i moved to 2.3 final like you said.

the kernel is the only package i'm not able to rebuild.

i guess i can install the kernel from devel channgel (kernel-2.6.22.19-72.endian15) and the respective kernel-devel package?

Anyone knows if is there any big difference between the kernel-2.6.22.19-72.e18 and the kernel-2.6.22.19-72.endian15 ?
Logged
mrkroket
Hero Member
*****
Offline Offline

Posts: 495


« Reply #3 on: Saturday 28 November 2009, 03:01:42 am »

Anyone knows if is there any big difference between the kernel-2.6.22.19-72.e18 and the kernel-2.6.22.19-72.endian15 ?

There is something, obviously.  But as they are not changing the version (2.6.22.19-72), it must be very similar.
Anyways there aren't many other options. The best thing you can do is try to compile with the endian15 kernel.

I managed to compile a NIC driver perfectly, and works fine. Unfortunately I can't get to work vmware-tools for VMWare server 1.08. Compiles, installs modules but vmxnet doesnt work.
Logged
davvidde
Full Member
***
Offline Offline

Gender: Male
Posts: 68


« Reply #4 on: Saturday 02 October 2010, 03:15:20 am »

I'm trying to install the Guest additions of virtualbox on Endian 2.4. I installed the required rpms to compile

sftp://root@192.168.2.4/root/efw24-rpm/patch-2.5.4-20.endian0.i586.rpm
make-3.81-3.endian0.i586.rpm
libgomp-4.1.2-14.endian1.i586.rpm
kernel-smp-devel-2.6.9-55.0.6.EL.endian22.i386.rpm
kernel-PAE-devel-2.6.27.19-72.e25.i686.rpm
glibc-kernheaders-2.4-9.1.103.EL.endian1.i586.rpm
glibc-headers-2.3.4-2.41.endian8.i386.rpm
glibc-extras-2.3.4-2.41.endian8.i386.rpm
glibc-devel-2.3.4-2.41.endian8.i386.rpm
gcc4-4.1.2-14.endian1.i586.rpm
cpp-3.4.6-10.endian8.i586.rpm
binutils-2.15.92.0.2-25.endian2.i586.rpm

export export CC=/usr/bin/gcc4

but `uname -r` doesn't show the PAE extension so when I install the additions something goes wrong. The compile process seem to be good, only the install of the startup script show an unrecognize distribution so the script is placed in /etc/init.d/vboxadd.
However the command /etc/init.d/vboxadd start failed with (modprobe vboxguest failed)

If is a kernel source related issue, where can I find 2.6.27.19-72.e25 kernel devel? Anyone know a workaround?

Thanks to all.

Davide.
Logged
davvidde
Full Member
***
Offline Offline

Gender: Male
Posts: 68


« Reply #5 on: Sunday 03 October 2010, 08:14:20 am »

My apologies,

http://www.efwsupport.com/index.php?topic=1988.0 solved my issue.

Thanks.
Davide
Logged
aweber
Full Member
***
Offline Offline

Posts: 10


« Reply #6 on: Wednesday 04 January 2012, 10:06:19 am »

I think someone else asked, but I can't find the thread again...

Can someone tell me where to find the dependencies to the DEVEL_RPMS (like those for gcc the glibc-* ones) ?

I'm surprised these are still missing, as 2.4.1 has been out for a long time (and is now actually one version back).

Thanks for any pointers.

-AJ
Logged
melcon
Jr. Member
*
Offline Offline

Posts: 4


« Reply #7 on: Tuesday 20 March 2012, 06:30:57 am »

Now, there is 2.5.1 out. No news regarding DEVEL RPMS?

Does anyone know how to setup a devel box for 2.5+ ?

-
MM
Logged
martman22
Full Member
***
Offline Offline

Posts: 27


« Reply #8 on: Thursday 29 March 2012, 09:47:35 pm »

I have made some progress using the Centos 4.7 rpms. The glibc-headers and glibc-devel needs to be installed using --nodeps as there are conflicts with the glibc version already installed on 2.5.1 endian. Afterwards gcc and gcc-c++ will install . You do need to install a few other dependent rpms but they install without problems.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.141 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com