LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-16-2002, 03:02 PM   #1
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Install Licq-1.2.0a & sim-0.8 on Slackware 8.1


I've downloaded licq-1.2.0a.tar.bz2 and did the following:

bunzip2 licq-1.2.0a.tar.bz2
tar xvf licq-1.2.0a.tar
cd licq-1.2.0a
./configure && make && make install


I also downloaded Sim-Icq (sim-0.8.tar.gz) and did

tar xzvf sim-0.8.tar.gz
cd sim-0.8
./configure && make && make install


Everything went VERY well on both programs, until ./configure:

Quote:
for Licq
root@darkstar:/home/phyx/licq-1.2.0a# ./configure && make && make install
creating cache ./config.cache
checking host system type... i586-pc-linux-gnuoldld
checking target system type... i586-pc-linux-gnuoldld
checking build system type... i586-pc-linux-gnuoldld
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

for sim-0.8
same exact error message
So, I looked in the "config.log" files for both programs:

Quote:
for Licq
configure:1031: checking whether the C compiler (gcc ) works
configure:1047: gcc -o conftest conftest.c 1>&5
gcc: installation problem, cannot exec `as': No such file or directory
configure: failed program was:

#line 1042 "configure"
#include "confdefs.h"

main(){return(0);}

for sim-0.8
gcc: installation problem, cannot exec `as': No such file or directory
configure:2209: $? = 1
configure: failed program was:
#line 2187 "configure"
#include "confdefs.h"

int
main ()
{

;
return 0;
}
configure:2232: error: C compiler cannot create executables
I checked /var/log/packages with my install CD to make sure I had ALL the gcc, gcc++, glibc, binutils, Tex, and TeTeX packages installed. My /var/log/packages has ALL of them that were available on the CD. Mind you, I didn't originally install these--only after when I got these errors did I use pkgtool to install them--and uninstall, then re-install them.

After each package I installed (included the 2 IM packages) I ran "updatedb -u" for good measure. I've been googling for answers for the last week trying to find a fix. Most time, an unistall and reinstall of the gcc/gcc++ and development packages worked, but others are still stuck like I am--no matter what they try. Anyone have any ideas? Thanks for any help you can provide.
 
Old 12-16-2002, 09:54 PM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
I was a little interested in your problem so I downloaded the licq-1.2.0a.tar file and extracted it. It configured OK on my system, except SOCKS5 was disabled but OpenSSL was enabled. Then I ran make it it appeared to build OK. From the looks of the ftp server, there are alot of other addin packages that are available. But I do not know which ones might be required for the program or not.

When I ran make, it ran the configure again and then started the build. It reported a couple of WARNING:'s only at the very beginning.

I ran gcc --version and it reported my version as 2.95.3 and I was logged in as root. The build process used both gcc and g++ to build the program.

So at this point I would have to think it is problem in your install or libraires. I have a full install install of Slack 8.1 running. But I would think the most important disk set is the "d" set. It includes everything for development.

Another problem I have seen, is when the install iso is downloaded and burned to a CD. If the image is not correctly burned, then packages will not install correctly or have missing and/or corrupted parts to it. The only way I have been able to tell if this is happening, is to use multiple consoles. In one console, run the "dmesg" command to display the kernel message buffer and note the last line. Then in another console begin your install process. Every so often go back to the other console and run "dmesg" again to see if there are any new messages. Any messages regarding the CDROM disk or drive would indicate a corrupted install CD. The Slack 8.1 install iso requires a 700 MByte CDR. It will not fit on a 650 MByte CDR unless you reauthor the image, removing packages, to reduce the size by at least 35 MByte.

I do not know if this has helped you in any way, except to know that it should work OK on a healthy Slack 8.1 system. Also, if you downloaded and installed anything from slackware-current tree you might uninstall the package and install the packages from the slackware-8.1 tree. The current tree is for beta testing and it uses a completely different system base. Some packages could really corrupt an otherwise sound 8.1 installation.

Good Luck.
 
Old 12-16-2002, 10:38 PM   #3
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Original Poster
Rep: Reputation: 30
Thanks Excalibur.

When I originally installed Slack 8.1 off a burned CD (700MB--and as far as I know, it's not slackware-current), I did only the minimal packages (no gcc/gcc++ or TeTex, etc.). However, over the past few days, I have installed damn near everything on that CD. I compared the "ls" of the d package folder on the CD to my /var/log/packages and I've got everything exactly there.

So you think I should uninstall everything from the "d" disk set and then reinstall it using the dmesg command in the 2nd virtual console? If so, I will try this when I get home tonight and post the results of dmesg as well.

If I have a bad burn this will be a major bummer. I don't want to reinstall everything as I finally got my slack running okay and some basic security set up on it which took a while. If I have to reinstall I will, but I'd rather not resort to that. I'm also stuck in dial up at home, so downloading "d" diskset will probably take a LONG time.

At any rate, I appreciate you taking the time to help me out on this.
 
Old 12-16-2002, 10:56 PM   #4
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
If you still have the downloaded iso image available and the burned cd then you can run some tests as well before you go through all the other trouble.

Use the cmp command to compare the iso image with the cd.

cmp slackware-8.1-install.iso /dev/cdrom

Use the name of your iso image file and your cdrom device. If all goes well then you may not get any output at all, or just an error stating that cd ran out. But if you get an output something like an offset byte number and two values then they differ. Or if you get seek errors from the dmesg command after it completes. You can get more info on the cmp command from the manpages or info system.

Just an idea that I thought might help.
 
Old 12-16-2002, 11:02 PM   #5
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Original Poster
Rep: Reputation: 30
Never knew about that. Thanks! I'll give it a try tonight.
 
Old 12-16-2002, 11:06 PM   #6
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
I never really checked out my /var/log/packages before so I was kinda curious. When I slected all of the files from inside Konqueror, it reported 392 files. SO I think I should take that to mean that I have installed 392 Slack packages. Now, from what I can remember, I have only installed from Slack packages two programs from the extra directory, CUPS and ESPGS. So that would leave 390 packages from the Install CD.

Also, I think there is a way to use "cksum" to validate the checksums for all the files and compare to the filelist provided. But I do not know how to do it. Might be an interesting search though.
 
Old 12-16-2002, 11:24 PM   #7
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
Well, I figured out how to use md5sum command. From inside the slackware directory you can try out the following:

md5sum --check CHECKSUMS.md5

It will process the file supplied from Slack as input and verify all the files in the tree. My hard disk layout reported 1 file out of 985 failed. One of the language files from the international KDE disk set. Not a real surpise though, the tree was created by rsync. The next update will probably fix it. Now in your situation, also use the dmesg command to see if any cd or drive errors are reported as well.
 
Old 12-17-2002, 01:58 AM   #8
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Original Poster
Rep: Reputation: 30
I forgot that I don't have the original downloaded iso. A friend of mine burned me the CD. However, I did a md5sum --check CHECKSUMS.md5 on the slackware directory of my burned CD.

There's a few files that failed. One of the most important ones for gcc and gcc++ failed:

binutils-2.12.20.0.9-i386-1.tgz
and so did another from the d diskset:

rcs-5.7-i386-1.tgz

Since the binutils failed, I can only presume that this will be the cause of all the problems. Now, others failed too, like one in emacs (but I didn't install this anyway) and 2 in gnome (an html editor--don't need--and a nautilus package--don't use). Then, while reading the gnome diskset, I got:

md5sum: CHECKSUMS.md5: read error

The first time my friend burned me an iso I couldn't install it. Luckily, I kept the CD. I did a checksum on the bad burn, and the binutils package is good according to checksum. However, it's label is a little different:

binutils.tgz

I ran pkgtool to see if it could bring out the version number but it cannot. So I copied it to a home directory, and untarred it. I can't find any version number. Checked /var/log/packages and couldn't find it there either, unless it's specified as something else. I don't think I should install this. I'm going to have to google for that binutils package, then install it again. I'm pretty sure that's what the problem is. Thanks for telling me about the checksum command. That might just save me some serious headaches!
 
Old 12-17-2002, 02:12 AM   #9
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Original Poster
Rep: Reputation: 30
Well, it looks like I can't download JUST the binutils-2.12.20.0.9-i386-1.tgz file. I've gone to sourceforge, did several searches for slackware packages, binutils, etc, and www.slackware.com is down. I'm hoping another friend of mine can email it to me once he gets his iso downloaded. I really think this will solve my problem. Thanks again Excalibur.
 
Old 12-17-2002, 07:02 AM   #10
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
The slack package without all the numbers is probably a pre 8.1 package. The naming system changed recently with 8.1.

Try ftp://ftp.slackware.com it was operating yesterday that I know of. There are also several good mirrors out there.

Glad that I was able to help.
 
Old 12-17-2002, 02:20 PM   #11
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Original Poster
Rep: Reputation: 30
Thanks for the tip. However, (don't laugh), I've NEVER ftp'd anything in my life. Don't even know where to begin. Is there a man page or something for ftp (I'm not on my Linux box right now, on NT at work, so I'll have to check for it later)? I know basically how it works, just never done it before....
 
Old 12-17-2002, 06:08 PM   #12
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Original Poster
Rep: Reputation: 30
Excalibur,

I found binutils 2.13.90.0.10 at [URL=http://www.linuxpackages.net/details.php?name=binutils]http://www.linuxpackages.net/details.php?name=binutils[/URL, but will this be acceptable for Slackware 8.1? It says its available format is 8.1. However, the original Slackware 8.1 iso comes with binutils 2.12.20.0.9. If I download and install this package, do you think I'll run into any issues with my gcc or gcc++?
 
Old 12-17-2002, 10:32 PM   #13
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
Unfortunately, I do not know if that package would be adding strange fire or not. But if they say it was built for 8.1 then I suppose it would work. Now whether it is compatible with the other packages I would have to research that. But I would think they would of stated if other packages should be updated as well.

As far as ftp programs go. Most modern browsers understand file transfer protocol. They do an anonymous login if it is allowed by the ftp server. Try just clicking on the link provided above for Slack. It should display the root of the server, if it can establish a connection. Then click on pub then click on slackware, etc. until you get to where you need. Then when you see the file you are looking for, you will usually need to do a right click and then something like "save file as". Some browsers will attempt to just download and open tar files, compressed or not, and then display the contents. That is why you need to specifically tell it to save the file. Another reason why most sites do not recommend windows browsers, it can corrupt the files all too often.

Many OS'es include some type of command line ftp program though as well. In linux you can learn some more by trying "man ftp". (note: if you use windows ftp program, you have to set the mode to binary, it defaults to ascii mode for file transfers, go figure.) But a short simple process here would be something like the following:

ftp
open ftp.slckware.com
(at login) anonymous
(at password) emailaddress@yourdomain.com
cd pub/slackware/slackware-8.1/slackware/d
dir
get the-file-you-want-by-the-the-full-name
bye

The file would be downloaded at your current local directory. So I usually just start where I desire to place the file. You can type help or ? to get a list of commands. There are a lot of settings as well, and they can effect how the different commands work. Like prompting on/off will effect the mget command. If you wanted to upload a file then use the put command instead of get. It is really a simple command set. I only use a few of them normally.

As an alternative in Linux under X, I use gftp to publish web sites. I real nice interface and it provides the command responses in a window so you know what is going on with your requests. It is also fairly easy to get entire trees with it as well.

And since you stated that you haven't ftp'ed anything before. Well, it is about time son!

Cheers
 
Old 12-18-2002, 01:29 AM   #14
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Excalibur
Unfortunately, I do not know if that package would be adding strange fire or not. But if they say it was built for 8.1 then I suppose it would work. Now whether it is compatible with the other packages I would have to research that. But I would think they would of stated if other packages should be updated as well.
I asked at the forums for the site I found it at and I was told there should be no problems...so I'm going to give it a shot.

Quote:
As far as ftp programs go. Most modern browsers understand file transfer protocol. They do an anonymous login if it is allowed by the ftp server. Try just clicking on the link provided above for Slack. It should display the root of the server, if it can establish a connection. Then click on pub then click on slackware, etc. until you get to where you need. Then when you see the file you are looking for, you will usually need to do a right click and then something like "save file as". Some browsers will attempt to just download and open tar files, compressed or not, and then display the contents. That is why you need to specifically tell it to save the file. Another reason why most sites do not recommend windows browsers, it can corrupt the files all too often.
I don't have any OS but Slack at home (the wife's got Win95 still). The way I figure it, the best way to learn Linux is to dive in head first and force yourself to learn it. My box is pure Slack, and I think it's going to stay that way. I tried Mandrake 8.1 also, but Slack just seems to make more sense. I can't explain way, it just does. The only time I use Windows is at work (no choice).

Quote:
Many OS'es include some type of command line ftp program though as well. In linux you can learn some more by trying "man ftp". (note: if you use windows ftp program, you have to set the mode to binary, it defaults to ascii mode for file transfers, go figure.) But a short simple process here would be something like the following:

ftp
open ftp.slckware.com
(at login) anonymous
(at password) emailaddress@yourdomain.com
cd pub/slackware/slackware-8.1/slackware/d
dir
get the-file-you-want-by-the-the-full-name
bye

The file would be downloaded at your current local directory. So I usually just start where I desire to place the file. You can type help or ? to get a list of commands. There are a lot of settings as well, and they can effect how the different commands work. Like prompting on/off will effect the mget command. If you wanted to upload a file then use the put command instead of get. It is really a simple command set. I only use a few of them normally.
This sounds like some fun. I've heard of some of this before, but never really searched up on it. I'm currently doing an ftp though Opera 6.11 and it's going really well. I'd like to do some command line ftp'ing though as it sounds pretty neat. I'm liking the command line ALOT and I use it for all my configuring and whatnot. No better way to learn it than to use it.

Quote:
As an alternative in Linux under X, I use gftp to publish web sites. I real nice interface and it provides the command responses in a window so you know what is going on with your requests. It is also fairly easy to get entire trees with it as well.
You publish web sites? Cool. I like designing webpages--need to learn more than just HTML though. I'll have to look into it.

Quote:
And since you stated that you haven't ftp'ed anything before. Well, it is about time son!
I know I know. From the way this ftp is going, it looks like I'll be doing alot more of it from now on too. I'll let you know how this turns out. Thanks a million.

Last edited by Texicle; 12-18-2002 at 01:32 AM.
 
Old 12-18-2002, 01:59 AM   #15
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Original Poster
Rep: Reputation: 30
Excalibur,

I've ftp'd the binutils package, ran pkgtool to do the dirty work, ran "updatedb -u", then tried "./configure" on the program. I've gotten past that and am now in the process of "make" (which is taking a long time--but then again I'm on a 266Mhz processor). If all goes well, I shouldn't have to worry about this again. I never would've figured it out without your help, and for that I am indebted to you. Thanks again!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
licq/sim erikash Slackware 6 10-06-2005 02:48 AM
licq & ip# saspipi Linux - Software 1 06-22-2004 01:37 PM
-=How Install SIM v0.9.1 in Suse 8.2??=- Worm Linux - Software 1 12-08-2003 05:46 PM
Licq in slackware 8.1 Filsta Slackware 15 07-02-2002 10:29 AM
Licq & slackware anorex Linux - Software 1 06-16-2002 07:40 PM


All times are GMT -5. The time now is 06:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration