Hi Eric,

there are some more specific instructions in the wiki at
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?UbuntuBreezyPackages

But I must warn you.. you're starting with quite a task :)

Best of luck,
Alex


----- Original Message ----- 
From: "Eric H. Johnson" <[EMAIL PROTECTED]>
To: "'EMC developers'" <emc-developers@lists.sourceforge.net>
Sent: Sunday, December 17, 2006 9:43 PM
Subject: [Emc-developers] RTAI Steps


> Hi all,
>
> I was trying to follow the instructions for patching and installing 
> the real
> time kernel found here:
> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?RtaiSteps
>
> The short question is, how does one do mkinitrd on Ubuntu? I could 
> not find
> a package for it or a compatible version. What is the equivalent 
> means of
> doing this on Ubuntu?
>
> Below is what I found while trying to follow the instructions on the 
> RTAI
> steps page.
>
> The instructions there are for Fedora Core 3, while I am trying to 
> do this
> on Ubuntu 6.06, but there now seem to be some changes, most of which 
> I
> presume would also apply to Fedora. I imagine, as was the case for 
> me,
> anyone wanting to do this for EMC would be more likely to what to do 
> it
> through Ubuntu rather than Fedora. The below is what I found when 
> following
> those instructions from a clean install of ubuntu 6.06 workstation. 
> I can
> update the RTAI steps page if it is desired, once I get through the 
> process
> in its entirety.
>
> cd /usr/local/src/      [no change]
> sudo chmod a+rwx .      [no change]
> wget 
> http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.10.tar.bz2 =>
> wget 
> http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2
> (Note: 2.6.18 appears to be the latest stable version)
>
> wget 
> http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.10.tar.bz2.sign
> =>
> wget 
> http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2.sign
>
> wget http://www.aero.polimi.it/RTAI/rtai-3.2.tar.bz2    [no change]
> sudo apt-get update     [no change]
>
> As for:
> sudo apt-get install cvs gcc-c++ gcc ncurses-devel pciutils-devel 
> tk-devel
> tcl-devel gtk+-devel
>
> cvs installs fine
> gcc-c++ is not recognized, I ended up installing EMC2 and build-dep 
> for emc2
> to load the c++ compiler, etc.
> ncurses-devel now apprears to be ncurses-dev
> pciutils-devel now appears to be pciutils-dev
> I could not find the equivalents for tk-devel or tcl-devel
> gtk+-devel now appears to be libgtk2.0-dev
>
> gpg --keyserver wwwkeys.pgp.net --recv-keys 0x517D0F0E
> gpg --verify linux-2.6.10.tar.bz2.sign linux-2.6.10.tar.bz2
>
> Didn't work, but in the same way it didn't work in the instructions.
>
> bunzip2 linux-2.6.10.tar.bz2 => bunzip2 linux-2.6.18.tar.bz2
> tar -xf linux-2.6.10.tar => tar -xf linux-2.6.18.tar
> bunzip2 rtai-3.2.tar.bz2    [no change]
> tar -xvf rtai-3.2.tar       [no change]
>
> cd linux-2.6.10 => cd linux-2.6.18
>
> make xconfig
> Does not work. The error apparently is that QT is missing. Through 
> the
> Synaptic installer, I see a bunch of uninstalled libraries 
> associated with
> things such as Python, but nothing uninstalled that looks to be QT 
> itself. I
> am not sure what needs to be installed to run xconfig, so I ran 
> "make
> menuconfig" instead.
>
> make dep   ;#(depreciated? well, can't hurt)
> Not needed any more, gives a message that it is obsolete.
>
> No changes needed to any of the following:
> ----------->
> make clean
> make bzImage
> ls -l arch/i386/boot/bzImage
> You should see something like:
> -rw-r--r--  1 blipkowi users 1563617 Jun  6 01:01 
> arch/i386/boot/bzImage
> Otherwise, you are going to have to use your brain! Now, build and 
> install
> the modules:
> make modules   ;#(46 minutes)
> ----------<
>
> su -   [Did not use]
> make modules_install => sudo make modules_install
>
> Here is where I get stuck:
> mkinitrd /boot/initrd-2.6.18.img 2.6.18
>
>
> Regards,
> Eric
>
>
>
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to