LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-13-2005, 07:51 AM   #1
shadkong
Member
 
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114

Rep: Reputation: 15
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.
 
Old 10-13-2005, 08:00 AM   #2
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
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.
 
Old 10-13-2005, 08:07 AM   #3
shadkong
Member
 
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114

Original Poster
Rep: Reputation: 15
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.
 
Old 10-13-2005, 08:38 AM   #4
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
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.
 
Old 10-13-2005, 08:46 AM   #5
shadkong
Member
 
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114

Original Poster
Rep: Reputation: 15
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?
 
Old 10-13-2005, 08:54 AM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
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
 
Old 10-14-2005, 04:53 PM   #7
rino.caldelli
Member
 
Registered: Apr 2005
Location: perugia
Distribution: ubuntu
Posts: 181

Rep: Reputation: 31
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
 
Old 10-14-2005, 10:11 PM   #8
shadkong
Member
 
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114

Original Poster
Rep: Reputation: 15
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.
 
Old 10-15-2005, 06:39 AM   #9
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
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).
 
Old 10-15-2005, 11:30 PM   #10
shadkong
Member
 
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114

Original Poster
Rep: Reputation: 15
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.
 
Old 10-16-2005, 03:21 AM   #11
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
Can't you see from your compile errors what you are missing? Some libs of some sort, perhaps?
 
Old 10-16-2005, 07:14 AM   #12
shadkong
Member
 
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114

Original Poster
Rep: Reputation: 15
I will try to recompile wine-20041019 tomorrow, and I'll paste the result here. Thank you for your help!
 
Old 10-17-2005, 06:04 AM   #13
shadkong
Member
 
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114

Original Poster
Rep: Reputation: 15
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.
 
Old 10-22-2005, 04:09 AM   #14
shadkong
Member
 
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114

Original Poster
Rep: Reputation: 15
Who can help me? egag, OSourceDiplomat, are you have any good ideas?
 
Old 10-22-2005, 08:01 AM   #15
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
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
 
  


Reply



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
making .tgz packages from sources r_jensen11 Slackware 3 02-03-2004 05:57 PM
installing .tgz.tar packages slack_is_good Slackware 6 12-18-2003 12:14 PM
installing rpm and tgz packages?? Ikik General 6 10-07-2003 08:00 AM
X Sever crash after xset.tgz & vg16.tgz install lachlan Slackware 0 08-13-2003 02:48 AM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:49 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
Open Source Consulting | Domain Registration