gcc.dsl, screen-4.0.2 and tgetent
Forum: myDSL Extensions (deprecated)
Topic: gcc.dsl, screen-4.0.2 and tgetent
started by: Whachucallme
Posted by Whachucallme on June 17 2005,20:10
Hi,
Today i tryed to install gcc1.dsl (what didn't work out) and i kept getting the same error
Code Sample | root@1[screen_test]# mydsl-load gcc1.dsl mount: special device /var/tmp/mydsl.icons does not exist umount: /root/.xtdesktop: not mounted ls: /var/tmp/mydsl.icons: No such file or directory |
Then i tryed to install screen-4.0.2 and then i got the following error
Code Sample | root@1[screen-4.0.2]# ./configure --prefix=/usr --with-socket-dir=/var/run/scree n --with-sys-screenrc=/etc/screenrc && sed -i -e "s%/usr/local/etc/screenrc% /etc/screenrc%" {etc,doc}/* && make this is screen version 4.0.2 checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking whether gcc needs -traditional... no checking for library containing strerror... none required checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c configure: checking for buggy tools... - sh is 'GNU bash, version 2.05b.0(1)-release (i386-pc-linux-gnu)'. checking if a system-wide socket dir should be used... yes checking for the socket dir... "/var/run/screen" configure: checking for MIPS... configure: checking for Ultrix... configure: checking for butterfly... configure: checking for POSIX.1... - you have a POSIX system configure: checking for System V... configure: checking for sequent/ptx... configure: checking SVR4... checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes configure: checking for Solaris 2.x... configure: checking BSD job jontrol... - you have jobcontrol configure: checking setreuid... configure: checking seteuid... configure: checking select... configure: checking fifos... - your fifos are usable configure: checking for broken fifo implementation... - your implementation is ok configure: checking sockets... - your sockets are usable configure: checking socket implementation... - you are normal - both sockets and fifos usable. let's take fifos. configure: checking select return value... - select can't count configure: checking for tgetent... configure: checking libcurses... configure: checking libtermcap... configure: checking libtermlib... configure: checking libncurses... configure: error: !!! no tgetent - no screen |
So i went looking for tgetent for DSL, didn't found the extention :'(
So, does anyone know why i cant "mydsl-load gcc1.dsl" and where i can find a tgetent extention?
Posted by clacker on June 17 2005,20:53
I'm not 100% about this, but it looks like your loading the gcc1.dsl as root. Is this correct? Try loading it as user dsl, then you won't get the error. It looks like the files loaded, though, even with the error.
Your "no tgetent" error appears to be comming from a missing library. Seeing these lines
Code Sample | configure: checking for tgetent... configure: checking libcurses... configure: checking libtermcap... configure: checking libtermlib... configure: checking libncurses... configure: error: !!! no tgetent - no screen |
makes me think that it looked for tgetent, then tried different curses, and then failed. Try loading the dsl-dpkg.dsl, changing your /etc/apt/sources.list file from stable to unstable, and then running:
apt-get update apt-get install libncurses5-dev
and try again. You might need other libraries as well. I might get libreadline4-dev as well just to be safe.
Posted by Whachucallme on June 17 2005,23:37
Code Sample | root@1[root]# mydsl-load dsl-bpkg.dsl root@1[root]# apt-get update -bash: apt-get: command not found |
I'm using dsl-1.1-syslinux HD-installed :s maybe i need an other extention for apt-get?
Help :s
Posted by clacker on June 18 2005,01:25
Yes, like I said before, you need the dsl-dpkg.dsl package from the repository < here >
Posted by Whachucallme on June 18 2005,10:10
Code Sample | root@0[screen-4.0.2]# apt-get install libncurses5-dev Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation:
The following packages have unmet dependencies: libncurses5-dev: Depends: libncurses5 (= 5.2.20020112a-7) but 5.3.20030719-1 is to be installed Depends: libc6-dev but it is not going to be installed E: Broken packages |
Owk got the dsl-dpkg.dsl and the gcc1.dsl loaded but what do i do whit this error?
Please help :'(
Posted by clacker on June 18 2005,14:26
Whachucallme, you need to:
Install the gcc1.dsl, dsl-dpkg.dsl, and probably the gnu-utils.dsl as well (it helps loading and building some things):
mydsl-load dsl-dpkg.dsl mydsl-load gcc1.dsl mydsl-load gnu-utils.dsl
now you need change the /etc/apt/sources.list file from stable to unstable:
# as root beaver /etc/apt/sources.list # change the word "stable" in the second line to the word "unstable" # save and close beaver apt-get update apt-get install libncurses5-dev libreadline4-dev
try compiling again.
./configure make make install
Posted by Whachucallme on June 18 2005,23:13
Owk ill try that in the morning
thank you for explaining it this way to me :$ i'm realy noobish in linux, i know the basic commands etc but cant seem to find all that stuff on my own
Thank you very much <3
|