Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
![Reply](https://www.linuxquestions.org/questions/images/buttons/reply.gif) |
|
10-13-2005, 07:51 AM
|
#1
|
Member
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114
Rep:
|
Install tgz packages
I have installed some tgz packages that don't compiled for my current system (Slackware 10.2), and they work very good. But when I download packages from www.linuxpackages.net, I found they are marked that compiled for a certain version of operating system (Slackware 10, 10.1. 10.2). So I want to know if I install a package don't compiled for my current system, will it cause something wrong? If it won't, why people distinguish different version?
Last edited by shadkong; 10-13-2005 at 07:58 AM.
|
|
|
10-13-2005, 08:00 AM
|
#2
|
Member
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879
Rep:
|
Usually, they are just optimized for a certain system but will run (or not, if they are from LinuxPackages; that is one mixed bunch). You should be more careful with the version number, if they are older than 10.0. Obviously, it all comes down to program and kernel dependencies.
|
|
|
10-13-2005, 08:07 AM
|
#3
|
Member
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114
Original Poster
Rep:
|
Do you mean: if a package works, I can use it. If it cannot work, I should leave it?
Last edited by shadkong; 10-13-2005 at 08:08 AM.
|
|
|
10-13-2005, 08:38 AM
|
#4
|
Senior Member
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163
Rep:
|
Quote:
Do you mean: if a package works, I can use it. If it cannot work, I should leave it?
|
Not exactly.
Actually it is like the particular package is tested on some Standard system, and that version no. or so is included.
If you try the package on some other system, it *may* work, but success is not guaranteed.
Installing the software on the recommended system is a sureshot win. ![Smilie](https://www.linuxquestions.org/questions/images/smilies/smile.gif)
|
|
|
10-13-2005, 08:46 AM
|
#5
|
Member
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114
Original Poster
Rep:
|
Thank you!
I want an old wine version (20041019) for winetools, but there are no compiled package for Slackware 10.2, and I can't compile it by myself (I did it on Slackware 10.1. I think the gcc in 10.2 may produce some wrong files when compile it). What can I do?
|
|
|
10-13-2005, 08:54 AM
|
#6
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
Quote:
Originally posted by shadkong
Thank you!
I want an old wine version (20041019) for winetools, but there are no compiled package for Slackware 10.2, and I can't compile it by myself (I did it on Slackware 10.1. I think the gcc in 10.2 may produce some wrong files when compile it). What can I do?
|
compiling it yourself should be possible.
so what compile errors do you get ?
egag
|
|
|
10-14-2005, 04:53 PM
|
#7
|
Member
Registered: Apr 2005
Location: perugia
Distribution: ubuntu
Posts: 181
Rep:
|
usually they are only optimized for your system.. but compiling it your own should be the best... why not download some source????
http://rinonapo.atspace.com
|
|
|
10-14-2005, 10:11 PM
|
#8
|
Member
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114
Original Poster
Rep:
|
I've downloaded the source and try to compile it by myself. But it failed, and I found that compiling a software successfully is not so easy.
|
|
|
10-15-2005, 06:39 AM
|
#9
|
Member
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879
Rep:
|
One should be very careful to install the necessary compilers when installing the system... I rarely have things that won't compile (except little, light-weight Abiword, which needs half a Gnome to function).
|
|
|
10-15-2005, 11:30 PM
|
#10
|
Member
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114
Original Poster
Rep:
|
I cannot compile d4x 2.5.5 and wine-20041019 on Slackware 10.2. And I'm sure compilers are installed correctly. And I think the software I cannot compile are not the only two listed above.
|
|
|
10-16-2005, 03:21 AM
|
#11
|
Member
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879
Rep:
|
Can't you see from your compile errors what you are missing? Some libs of some sort, perhaps?
|
|
|
10-16-2005, 07:14 AM
|
#12
|
Member
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114
Original Poster
Rep:
|
I will try to recompile wine-20041019 tomorrow, and I'll paste the result here. Thank you for your help!
|
|
|
10-17-2005, 06:04 AM
|
#13
|
Member
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114
Original Poster
Rep:
|
I tried to compile wine-20041019, and here is the result, I don't know what it means:
gcc -c -I. -I. -I../../../include -I../../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o audio.o audio.c
In file included from /usr/include/alsa/asoundlib.h:48,
from alsa.h:23,
from audio.c:63:
/usr/include/alsa/conf.h:189: error: syntax error before "struct"
make[2]: *** [audio.o] error 1
make[2]: Leaving directory `/home/shad/wintools-with-wine20041019/wine-20041019/dlls/winmm/winealsa'
make[1]: *** [winmm/winealsa] error 2
make[1]: Leaving directory `/home/shad/wintools-with-wine20041019/wine-20041019/dlls'
make: *** [dlls] error 2
Compilation failed, aborting install.
Last edited by shadkong; 10-17-2005 at 06:06 AM.
|
|
|
10-22-2005, 04:09 AM
|
#14
|
Member
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114
Original Poster
Rep:
|
Who can help me? egag, OSourceDiplomat, are you have any good ideas?
|
|
|
10-22-2005, 08:01 AM
|
#15
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
the compilermessage sais : syntax error before "struct " in line 189 of /usr/include/alsa/conf.h.
that is a standard alsa file and comes with alsa-lib-1.0.9-i486-1.tgz.
( in Slack-10.2 )
those files should be ok.
when i take a look at that file here i don't see a " struct " at line 189.
can you look in the " conf.h" file you have at line 189 ?
egag
|
|
|
All times are GMT -5. The time now is 01:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|