LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-06-2003, 10:00 PM   #16
jadukor_bd
Member
 
Registered: Aug 2003
Location: Bangladesh
Distribution: Slackware9.1
Posts: 61

Original Poster
Rep: Reputation: 15

Thanks yaap....

My mouse is working like a charm now.....:-)

Now i would b really greatful if some1 could help me cofigure my sondcard (Creative SB Live!5.1).
From the Info Center of KDE it shows something like ... Creative Labs SB Live! EMU10K1
But i don't get any sound....... RH9 (my previous distro) was able 2 detect it automatically druring setup so i never had 2 do any thing..... and thus i have no idea where should i probe.... 2 fix things...

Thanks....
 
Old 11-06-2003, 11:54 PM   #17
jadukor_bd
Member
 
Registered: Aug 2003
Location: Bangladesh
Distribution: Slackware9.1
Posts: 61

Original Poster
Rep: Reputation: 15
thanks yapp...

My mouse is working fine now....... after editing /etc/rc.d/rc.gpm..
Now if b greatful if some1 can can tell me how 2 configure my sound card(Creative SB Live!5.1)
In the Info Center of KDE, under PCI, it shows something like Creative Labs SB Live! EMU10k1.....
RH9 used 2 setup my sound card automatically during setup..... so i have no idea what so ever where 2 probe or how 2 probe, to fix thing...... help would b greatly appreciated...
thanks...
 
Old 11-07-2003, 04:29 AM   #18
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Quote:
Now if b greatful if some1 can can tell me how 2 configure my sound card(Creative SB Live!5.1)
In the Info Center of KDE, under PCI, it shows something like Creative Labs SB Live! EMU10k1.....
The info center just displays the ouput of "lspci" in a nicer way, but it's good to know that the kernel reconizes the device-id at the pci bus. Slackware has hotplug enabled by default (/etc/rc.d/rc.hotplug) unless you've disabled it with "chmod -x", it should try to detect all your devices, and load the driver-modules too.

* what is the output of "lsmod". (need to su to root to execute this, or run /sbin/lsmod; I hope you don't run X as root now)
* are there any usefull messages in "/var/log/messages"?, the "dmesg" command, or "/var/log/syslog"?


I think the redhat autodetection binds some modules to devices, because hotplug already detects the devices. (my /etc/modules.conf lists some aliases, and I assume redhat adds some extras there)
 
Old 11-07-2003, 10:05 AM   #19
Fascistchicken
Member
 
Registered: Jul 2003
Location: hellifniknow
Distribution: slackware for chickens
Posts: 182

Rep: Reputation: 30
for sound at a console type alsamixer then turn up the master volume ,
then exit, and type alsactl store

... as root

Last edited by Fascistchicken; 11-07-2003 at 10:06 AM.
 
Old 11-07-2003, 12:07 PM   #20
jadukor_bd
Member
 
Registered: Aug 2003
Location: Bangladesh
Distribution: Slackware9.1
Posts: 61

Original Poster
Rep: Reputation: 15
hello... guys...

Well i don't know how 2 start saying..... i feel like i m greatest idiot ever 2 have walked the face of planet earth.., the likes of whome humanity has never seen before & never will...
Guys i m really sorry for this... it was absolutely a stupid, reckless & idiotic mistake on my behalf......, THE Pcm Volume was SIMPLY TURNED DOWND (all i had 2 do was just turn it up).... i still can't figure out how i forgot 2 check that out..... i m really sorry for taking up u guys' time.... i don't know what else 2 say????
bye..
 
Old 11-07-2003, 12:13 PM   #21
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
well... it's not that stupid..

because Slackware 9.1 uses the ALSA sound architecture. and ALSA has the sound muted by default, don't ask me why, and certainly don't ask me why slackware kept it down
 
Old 11-07-2003, 12:21 PM   #22
Fascistchicken
Member
 
Registered: Jul 2003
Location: hellifniknow
Distribution: slackware for chickens
Posts: 182

Rep: Reputation: 30
so you don't blow your speakers the first time you boot, mine don't have any volume button and the first time time i installed windows on it it nearly did
 
Old 11-07-2003, 12:43 PM   #23
jadukor_bd
Member
 
Registered: Aug 2003
Location: Bangladesh
Distribution: Slackware9.1
Posts: 61

Original Poster
Rep: Reputation: 15
guys......

do u happen 2 have any suggetion for a download manager.....................???
i m using d4X....... i used 2 install the rpm on my RH9..... it gave me no trouble....
on mu Slacky i have compiled from source and was able 2 down load open office 1.1... source, nearly 200MB........ it haven't installed it yet, though..... but today i tried down loading mozilla 1.5, but i don't know why it keeps restating the download process after it complets a certain random percetage of download........ it's like a never ending loop..
anyway i didn't give it much thought cos d4X has been stuck in the 2.5-beta2 version for quite some time now..... it's like as if it's been dicontinued........ so ..is there anyother suggetions for a download manager......???

Thanks
 
Old 11-09-2003, 07:13 AM   #24
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
jadukor_bd,

I don't know any download manager (because I've adsl).. but I'm wondering, why are you compiling everything from source? If you have mozille installed from a slackware package, you can upgrade it with "swaret --update ; swaret --upgrade".
www.linuxpackages.net is a good place to find slackware packages. (I hardly use it, except for installing mozilla 1.5, and gotthe binary installer for OpenOffice)

I've installed all non-slackware programs from source, using "checkinstall" to create a slackware package... The great part of this; I can remove the package too, but right now... I'm stuck with 60 packages I have to upgrade manually! ...guess why I'm in a rush to install gentoo now that I've become more familliar with Linux

Last edited by yapp; 11-09-2003 at 07:16 AM.
 
Old 11-11-2003, 02:02 PM   #25
jadukor_bd
Member
 
Registered: Aug 2003
Location: Bangladesh
Distribution: Slackware9.1
Posts: 61

Original Poster
Rep: Reputation: 15
hello every1...

i got the source for mozilla (mozilla-source-1.5.tar.bz2) but i m not clear about a few things...

1) where is the default mozilla1.4 installtion on Slackware9.1 located.

2) how do i uninstall mozilla1.4 before compiling and installing mozilla1.5..... as far as i know there is no uninstall button OR Add/Remove Programs button in Linux.....

3) Slackware9.1 has java plugin (JSDK 1.4.2 or something like that, i m not sure) and problaly also flash pluging installed by default......so do i have to install them again, after installing mozilla1.5??

4) I have been told that Slackware doesn't support dependency checks........ so how can i b sure that, after installing anything from binary or compiling from source, .........its going to work??

Thanks.....
 
Old 11-12-2003, 03:26 AM   #26
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Quote:
Originally posted by jadukor_bd
hello every1...

i got the source for mozilla (mozilla-source-1.5.tar.bz2) but i m not clear about a few things...

1) where is the default mozilla1.4 installtion on Slackware9.1 located.
type "locate mozilla", or "whereis mozilla" to find out.

Quote:
2) how do i uninstall mozilla1.4 before compiling and installing mozilla1.5..... as far as i know there is no uninstall button OR Add/Remove Programs button in Linux.....
each distribution has a package manager. Slackware uses TGZ packages. Use the "pkgtool" command to get a menu based package manager. And you'll find a lot more components to remove compared to the "Add/Remove Software" thing you're referring to

But I get the fealing you're not quite familliar with package managers right now. For a newbie install I would recommend upgrading a package this way:
* download the latest mozilla-slackware package from www.linuxpackages.net (only because the slackware mirrors right now don't yet provide a mozilla-1.5 package!!)
* type "updatepkg mozilla...<hit tab>.tgz" and the package will be upgraded, old files will even be removed.

You can also use the "pkgtool" command to manage your packages, but the "upgradepkg" command seams to be very easy.

Unfortunately, I didn't find the latest mozilla-1.5 package at the slackware mirrors. However, for all core slackware packages, I would advise against installing them from source again; you'll have to upgrade them manually every time. To upgrade all default slackware packages, with the latest packages from the slackware mirrors, use "swaret". Just type these commands, and your system will be completely up-to-date:
Code:
swaret --update
swaret --upgrade
Notice that you *only* need to restart the programs of your system that are upgraded. for example, after upgrading ssh, type
Code:
/etc/rc.d/rc.ssh restart
this can even be done from an ssh-connection! And if your kde has been upgraded, restart your kde session... that's all!

Quote:
3) Slackware9.1 has java plugin (JSDK 1.4.2 or something like that, i m not sure) and problaly also flash pluging installed by default......so do i have to install them again, after installing mozilla1.5??
I wasn't familliar that slackware had those installed, but I've started with version 9.0; and 9.0 didn't have these packages.
You'll find all plugins in /usr/lib/mozilla-1.4/plugins/
Perhaps you want to use this command to migrate your plugins:
Code:
mv -i -v /usr/lib/mozilla-1.4/plugins/* /usr/lib/mozilla-1.5/plugins


Quote:
4) I have been told that Slackware doesn't support dependency checks........ so how can i b sure that, after installing anything from binary or compiling from source, .........its going to work??
It just works, or tells you it's missing a library. Just like... you've seen such error dialog with Microsoft Windows about a missing DLL file. If you type "ldd `which <programname here>`", it will display all libraries a program uses. Then you can find the packages that contain these files, but it's usually not that hard... and by the way, they didn't wrote that README file for nothing

swaret is a beautiful tool for package maintainance; if you're looking for a slackare package at one of the mirrors, all you need to do is:
Code:
swaret --search <programname here>
swaret --install <packagename here>
and the package will be downloaded, installed, and your ld-cache is updated with "ldconfig".
Swaret however, has a dependency check. it uses the ldd program to see what files a binary requires, and looks for the right packages in some master-list. Then it asks you whether you want to install that package too


If you really insist to compile something from source, use the "checkinstall" program to create a slackware package. instead of "make install" you need to type "checkinstall". It allows you to remove it later with "pkgtool"

Last edited by yapp; 11-12-2003 at 03:27 AM.
 
Old 12-17-2003, 11:46 AM   #27
jadukor_bd
Member
 
Registered: Aug 2003
Location: Bangladesh
Distribution: Slackware9.1
Posts: 61

Original Poster
Rep: Reputation: 15
Hello everyone...

I am trying to install the "guarddog" firewall package(from source) on Slackware9.1 box but the "make" comand won't work......

I tried to followed the instructions on the README and the INSTALL file but they are abit too geekish for me..

this is what happened (the last 4 lines are problay interisting)

bash-2.05b# sh ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
bash-2.05b# make
make: *** No targets specified and no makefile found. Stop.

So......(like in Bugs Bunny) What's up Doc.??
Translation of the above lines would be highly appreciated

Thanks
 
Old 12-18-2003, 04:00 AM   #28
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Quote:
I tried to followed the instructions on the README and the INSTALL file but they are abit too geekish for me..
You can say that again.. so true..

Just take a note that, most of the readme and install documents are exactly the same over and over again. I usually skip through a lot of text, and perhaps read something about additional ./confugure parameters that might be usefull.. However, "./configure --help" is usually all I care about. Source compilation+installation is usually nothing more then running ./configure, make, make install. (or checkinstall) but it's harder if you run into problems.


I'll try to explain what the configure did:

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu


checking for a BSD-compatible install... /usr/bin/ginstall -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found


You see it examines your system, because configure creates the makefiles for your specific system. the BSD-install tool is used by "make install", and the other tools are used to deal with the "make" step.

I'm very curious why it didn't find aclocal, and automake. afaik, you really need automake. Please make sure all developer packages are installed. this should solve your problems.



checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.


The ./configure script definitely failed at this point. It can find your compiler (gcc), but it wasn't able to compile a small piece of code with gcc.

bash-2.05b# make
make: *** No targets specified and no makefile found. Stop.


Since your configure script failed, it didn't create the makefiles. Only perform the second step, if you're satisfied with the result of the previous step
 
Old 12-20-2003, 03:27 AM   #29
jadukor_bd
Member
 
Registered: Aug 2003
Location: Bangladesh
Distribution: Slackware9.1
Posts: 61

Original Poster
Rep: Reputation: 15
Hello everyone...

Thanks yapp, long time no see.. it was a pleasure to hear from u again.....

Quote:
Please make sure all developer packages are installed. this should solve your problems.
Well yes, you are absolutely right about that; the README file also mentioned that...

Quote:
Make sure you have all the Qt and KDE development material and
headers installed. Otherwise configure will stop and complain about it.
But how do I exactly do that do I have to google around and find out the development material??? or is there some other way??

Thanks alot again...
 
Old 12-20-2003, 10:11 AM   #30
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
welcome back

Quote:
Originally posted by jadukor_bd
But how do I exactly do that do I have to google around and find out the development material??? or is there some other way??
well, not for your Slackware system.

Distributions like Redhat separated their binaries and development stuff (stuff like c/c++ header files) These files are required by a compiler. Why they have this policy is a complete mistery to me; it confuses a lot of newbies trying to install something from source, and you have to look for special -devel packags 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
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 09:54 AM
Dual boot windows/slackware, but slackware installed first? Cryptic_K Slackware 3 11-20-2006 12:49 PM
Vsfptd, Heeeeelp mkyb14 Linux - Software 3 08-21-2005 11:15 AM
Multiboot HEEEEELP blu_la Linux - Newbie 3 03-27-2004 03:12 AM
Newer Slackware Packages on older slackware version pengStudent Slackware 2 11-12-2003 12:47 PM


All times are GMT -5. The time now is 02:48 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration