DSL-N :: GCC problem with DSL-N-01RC4



Hello all,

Greetings!

Can someone please confirm that the GCC is installable successfully via MyDSL on DSL-N-01RC4 ?

I couldn't get it installed on my system  :-(

thanks in advance.

I believe the gcc1-with-libs extension was written with dsl in mind rather than dsl-n. There is a dsl-n version of gnu-utils available in the dsl-n repository.

I may have got the gcc extension working with dsl-n at one time, but recently I have been using debian packages to load gcc on dsl-n and this seems to work fine - I think there is a thread about it somewhere.

Hi Juanito,

Thanks for your reply.

Can you please clarify when you say "using debian packages to load gcc on dsl-n"

do you mean, I need to do a "apt-get install gcc" ?

I believe dsl-n should be able to do more heavy lifting than compared to dsl. So Iam thinking of building some of the widely adopted open source applications (like databases, middlewares, content management systems) on dsl-n - provided I have a workable compiler :-) Iam planning to build as much as I can, from  their respective source bundles.

thanks.

Here's what I've been using on dsl-n - there's probably some redundancy in all this and the kernel headers are not the correct ones, but it seems to cover most compiling situations:
Code Sample
#!/bin/bash
#
# Requires dsl-dpkg.dsl & gnu-utils.dsl
#
dpkg -i /mnt/sda2/download/kernel/build_env/libc6_2.3.2.ds1-22sarge5_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/libgcc1_3.4.3-13sarge1_i386.deb
dpkg -i /mnt/sda2/download/kernel/perl/libdb4.2_4.2.52-18_i386.deb
dpkg -i /mnt/sda2/download/kernel/perl/libgdbm3_1.8.3-2_i386.deb
dpkg -i /mnt/sda2/download/kernel/perl/perl-base_5.8.4-8sarge5_i386.deb
dpkg -i --force-all /mnt/sda2/download/kernel/perl/perl-modules_5.8.4-8sarge5_all.deb
dpkg -i /mnt/sda2/download/kernel/perl/perl_5.8.4-8sarge5_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/m4_1.4.2-1_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/make_3.80-9_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/patch_2.5.9-2_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/autoconf_2.59a-3_all.deb
dpkg -i /mnt/sda2/download/kernel/build_env/autotools-dev_20050422.1_all.deb
#dpkg -i /mnt/sda2/download/kernel/build_env/automake1.7_1.7.9-7_all.deb
#dpkg -i /mnt/sda2/download/kernel/build_env/automake1.8_1.8.5-3_all.deb
dpkg -i /mnt/sda2/download/kernel/build_env/automake1.9_1.9.5-1_all.deb
dpkg -i /mnt/sda2/download/kernel/build_env/binutils_2.15-6_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/cpp-2.95_2.95.4-22_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/gcc-2.95_2.95.4-22_i386.deb
#
dpkg -i /mnt/sda2/download/kernel/build_env/linux-kernel-headers_2.5.999-test7-bk-17_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/libc6-dev_2.3.2.ds1-22sarge5_i386.deb
#
ln -s /usr/src/linux-2.6.12 /usr/src/linux
ln -s /usr/bin/gcc-2.95 /usr/bin/cc
ln -s /usr/bin/gcc-2.95 /usr/bin/gcc
ln -s /usr/bin/cpp-2.95 /usr/bin/cpp
ln -s /usr/bin/cpp-2.95 /lib/cpp
dpkg -i /mnt/sda2/download/kernel/build_env/libtool_1.5.6-6_i386.deb
#
dpkg -i /mnt/sda2/download/kernel/build_env/libsysfs1_1.2.0-5_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/libsysfs-dev_1.2.0-5_i386.deb
#
#dpkg -i /cdrom/temp/libmagic1_4.12-1_i386.deb
#dpkg -i /cdrom/temp/file_4.12-1_i386.deb
#
dpkg -i /mnt/sda2/download/kernel/build_env/gcc-3.3-base_3.3.5-13_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/cpp-3.3_3.3.5-13_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/cpp_3.3.5-3_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/gcc-3.3_3.3.5-13_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/gcc_3.3.5-3_i386.deb
#
dpkg -i /mnt/sda2/download/kernel/build_env/pkg-config_0.17.2-1_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/gettext-base_0.14.4-2_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/gettext_0.14.4-2_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/zlib1g_1.2.2-4.sarge.2_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/libxml2_2.6.16-7_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/zlib1g-dev_1.2.2-4.sarge.2_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/libxml2-dev_2.6.16-7_i386.deb
#
dpkg -i /mnt/sda2/download/kernel/build_env/libncurses5_5.4-4_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/libncurses5-dev_5.4-4_i386.deb
#
dpkg -i /mnt/sda2/download/kernel/build_env/libstdc++5_3.3.5-13_i386.deb
dpkg -i --force-all /mnt/sda2/download/kernel/build_env/libstdc++5-3.3-dev_3.3.5-13_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/g++-3.3_3.3.5-13_i386.deb
dpkg -i /mnt/sda2/download/kernel/build_env/g++_3.3.5-3_i386.deb
#
dpkg -i /cdrom/temp/libexpat1_1.95.8-3_i386.deb
dpkg -i /cdrom/temp/libexpat1-dev_1.95.8-3_i386.deb
#
dpkg -i /cdrom/temp/bison_1.875d-1_i386.deb
dpkg -i /cdrom/temp/flex_2.5.31-31sarge1_i386.deb
dpkg -i /cdrom/temp/byacc_1.9.1-1.1_i386.deb
#
# EOF


original here.