[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ttylinux:160] Re: [Ttylinux]How to build ttylinux



harryxiyou wrote:
> On Wed, Feb 8, 2012 at 4:11 PM, harryxiyou <[email protected]> wrote:
>> On Wed, Feb 8, 2012 at 9:24 AM, Douglas Jerome <[email protected]> wrote:
>>> harryxiyou wrote:
>>>> Hi Douhlas,
>>>>
>>>> I download the source code 'ttylinux-src-mp9.tar.bz2' and build the
>>>> ttylinux image according to
>>>> the file 'How_To_Build_ttylinux.txt' in the source code package.
>>>> Actually, i can not get the
>>>> image from the steps descriped in 'How_To_Build_ttylinux.txt'. Cloud
>>>> you please tell me the
>>>> mistake i take. Following are the steps i did.
>>>>
>>>> 1, Get the source code 'ttylinux-src-mp9.tar.bz2' from our URI
>>>>     'http://ttylinux.net/Download/ttylinux-src-mp9.tar.bz2'
>>>>
>>>> 2, Decompress the srouce code package.
>>>>     # tar xvf ttylinux-src-mp9.tar.bz2
>>>>
>>>> 3,  Now we can see two directories, which are ttylinux-src-mp9 and
>>>> xbuildtool-0.2.
>>>>      One is for cross-platform tools, the other one is for ttylinux source code.
>>>>      Compiling the cross-platform tools should do these commands. But
>>>> the command
>>>>      'make help' is most important, which tells us the exact steps for
>>>> how to build your
>>>>      crossplatform.
>>>>     # cd xbuildtool-0.2/
>>>>     # make help
>>>>     # make setup
>>>>     # make x86_64-2.13-gnu
>>>>     After this step i can see a directory created in the
>>>> ../xbuildtool-0.2 dir. It looks
>>>>     like this 'cross-tools-2.13-2.6.38.1'. This dir includes another
>>>> dir 'x86_64-generic-linux-gnu'.
>>>>     Up to this step, i think we have established the crossplatform
>>>> chain tools. Maybe i am
>>>>     warong but all the procedures are done in the light of command 'make help'.
>>>>
>>>> 4,  Change dir into 'ttylinux-src-mp9' and compile source codes for
>>>> our ttylinux image on the
>>>>      basis of file 'How_To_Build_ttylinux.txt'.
>>>>      # make dload
>>>>     Download ttylinux source packages.
>>>>     /root/workshop1/ttylinux-src-mp9/scripts/_functions.sh: line 120:
>>>> TTYLINUX_VERSION: unbound variable
>>>>     make: *** [dload] error 1
>>> Look at this part of the *ttylinux-config.sh* file:
>>>
>>> # definition in this list, or at least be the only one not a comment.
>>> #
>>> #TTYLINUX_TARGET="em-wrtu54g_tm-mipsel"         # em - Smaller System
>>> #TTYLINUX_TARGET="sm-integrator_cp-armv5tej"    # sm - Small System
>>> #TTYLINUX_TARGET="sm-malta_lv-mipsel"           # sm - Small System
>>> #TTYLINUX_TARGET="sm-pc-i486"                   # sm - Small System
>>> #TTYLINUX_TARGET="ut-beagle_xm-armv7"           # ut - Medium System
>>> #TTYLINUX_TARGET="ut-macintosh_g4-powerpc"      # ut - Medium System
>>> #TTYLINUX_TARGET="ut-pc-i486"                   # ut - Medium System
>>> #TTYLINUX_TARGET="ut-pc-i686"                   # ut - Medium System
>>> #TTYLINUX_TARGET="ut-pc-x86_64"                 # ut - Medium System
>>> #TTYLINUX_TARGET="ws-macintosh_g4-powerpc"      # ws - Larger System
>>> #TTYLINUX_TARGET="ws-pc-i486"                   # ws - Larger System
>>> #TTYLINUX_TARGET="ws-pc-i686"                   # ws - Larger System
>>> #TTYLINUX_TARGET="ws-pc-x86_64"                 # ws - Larger System
>>>
>>> One of the above lines (from line 62 through 74) *must* be
>>> uncommented.
>>>
>>>> How to resolve this problem? And i write the rest stuffs, which you
>>>> can give me some suggestions.
>>>>
>>>> 5,   Configure the file 'ttylinux-config.sh' to yours.
>>>>
>>>> 6,    # make dist
>>>>        # make PACKAGE=bash-4.1 bash-4.1
>>>>        #  ./ttylinux-chroot.sh
>>>>
>>>> Ok, maybe it goes well. But i am not sure if i am right. I was
>>>> interrupted in the step 4. Douglas, please
>>>> give me some advice. Thanks for your great jobs ;-)
>> [email protected]:~/workshop1/ttylinux-src-mp9# make dload
>> Download ttylinux source packages.
>> i> Checking ttylinux-basefs-1.0 ...... (local)
>> i> Checking ncurses-5.7 .............. downloading ..... done
>> i> Checking alsa-lib-1.0.24.1 ........ downloading ..... done
>> i> Checking bash-4.1 ................. downloading ..... done
>> i> Checking busybox-1.19.3 ........... downloading ..... done
>> i> Checking e2fsprogs-1.42 ........... downloading ..... done
>> i> Checking iptables-1.4.12 .......... downloading ..... done
>> i> Checking lilo-23.2 ................ downloading ..... done
>> i> Checking module-init-tools-3.16 ... downloading ..... FAILED
>> i> Checking ttylinux-utils-1.3 ....... (local)
>> i> Checking udev-163 ................. downloading ..... FAILED
>> i> Checking util-linux-ng-2.18 ....... downloading ..... FAILED
>> i> Checking binutils-2.22 ............ downloading ..... done
>> i> Checking gcc-4.4.4 ................ downloading ..... done
>> i> Checking gmp-4.3.2 ................ downloading ..... done
>> i> Checking make-3.82 ................ downloading ..... done
>> i> Checking mpfr-2.4.2 ............... downloading ..... done
>> i> Checking dropbear-0.53.1 .......... downloading ..... done
>> i> Checking gpm-1.20.6 ............... downloading ..... done
>> i> Checking ppp-2.4.5 ................ downloading ..... done
>> i> Checking alsa-utils-1.0.24.2 ...... downloading ..... done
>> i> Checking glibc-2.13 ............... (comes from cross-tools)
>> i> Checking glibc-devel-2.13 ......... (comes from cross-tools)
>> i> Checking retawq-0.2.6c ............ downloading ..... done
>>
>> 1, I cannot find module-init-tools-3.16.tar.bz2 under the dir
>>    http://www.kernel.org/pub/linux/utils/kernel/module-init-tools, we
>> should update it.
>>    Maybe module-init-tools-3.15.tar.bz2 is ok for us, right?
> 
> URI for module-init-tools-3.16.tar.bz2 is
> http://en.sourceforge.jp/projects/sfnet_buluoos/downloads/0.3/src/module-init-tools-3.16.tar.bz2/
>> 2, Cannot find udev-163.tar.bz2 under dir
>> http://www.kernel.org/pub/linux/utils/kernel/hotplug,
>>    Maybe other versions are ok for us, right?
> 
> I have find udev-163 here https://launchpad.net/udev/+download?memo=10&start=10
>> 3, util-linux-ng-2.18's correct URI is
>> http://www.kernel.org/pub/linux/utils/util-linux/v2.18/util-linux-ng-2.18.tar.bz2.
>>
>> Any comments?

Yes, it seems the source distribution directories for these at
kernel.org has not completely recovered. If you use Google you
can find them. Let me know if there is one that you cannot find.

>>
>>
>>
>> --
>> Thanks
>> Harry Wei
> 
> 
>