You are not logged in.

#1 2008-05-24 17:45:11

Shadowmeph
Member
From: West Coast Canada
Registered: 2008-05-19
Posts: 208

getting errors when trying to sudo make install

I have to  Build the OSS sound system from source because  ( at least on Ubuntu hardy) my Xonar sound card doesn't work I get to the make install part and while it is making install it gets to the end of it when I get these errors

seq.c:1698: error: 'SND_SEQ_EVENT_SAMPLE' undeclared here (not in a function)
seq.c:1698: error: 'SND_SEQ_EVENT_SAMPLE_PRIVATE1' undeclared here (not in a function)
seq.c:1698: error: array index in initializer not of integer type
seq.c:1698: error: (near initialization for 'snd_seq_event_types')
seq.c:1702: error: 'SND_SEQ_EVENT_INSTR_BEGIN' undeclared here (not in a function)
seq.c:1702: error: 'SND_SEQ_EVENT_INSTR_CHANGE' undeclared here (not in a function)
seq.c:1702: error: array index in initializer not of integer type
seq.c:1702: error: (near initialization for 'snd_seq_event_types')
make[2]: *** [seq.lo] Error 1
make[2]: Leaving directory `/home/link/oss/lib/libsalsa'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/link/oss/lib'
make: *** [subdirs] Error 1

not sure how to fix that . I didn't have these problems in Ubuntu but this is a different OS can anyone help me or at least point me in the right directing please

Offline

#2 2008-05-24 18:48:01

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: getting errors when trying to sudo make install

http://wiki.archlinux.org/index.php/OSS

Use abs to build, don't do the traditional build...


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#3 2008-05-24 19:27:50

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: getting errors when trying to sudo make install

Dheart wrote:

http://wiki.archlinux.org/index.php/OSS

Use abs to build, don't do the traditional build...

QFT.

ABS is a powerful and versatile toolkit which allows creation of .tar.gz packages which are installable (and trackable) by pacman.
Doing the traditional make, make install (on any distro) creates cruft files throughout your system whichyour package manager (pacman) will be unaware of, creating potential future issues.

Offline

#4 2008-05-24 19:29:48

Shadowmeph
Member
From: West Coast Canada
Registered: 2008-05-19
Posts: 208

Re: getting errors when trying to sudo make install

it keeps telling me ( after I did the tar command and entered the dir) that I am missing files
"==> Starting ABS sync...
receiving file list ... done

sent 75 bytes  received 245313 bytes  44616.00 bytes/sec
total size is 23333936  speedup is 95.09
[link@myhost oss-v4.0-build1015-src-gpl]$ makepkg -i
==> ERROR: Install scriptlet (oss.install) does not exist.
[link@myhost oss-v4.0-build1015-src-gpl]$ "

Offline

#5 2008-05-24 19:36:47

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: getting errors when trying to sudo make install

Download the tarball, it includes the install script as well as the PKGBUILD.

Offline

#6 2008-05-24 19:44:30

Shadowmeph
Member
From: West Coast Canada
Registered: 2008-05-19
Posts: 208

Re: getting errors when trying to sudo make install

this is what I down loaded
   
Sources
http://www.4front-tech.com/developer/so … pl.tar.bz2
and extracted which is the only one that I found

Last edited by Shadowmeph (2008-05-24 19:47:35)

Offline

#7 2008-05-24 20:07:00

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: getting errors when trying to sudo make install

Shadowmeph wrote:

this is what I down loaded
   
Sources
http://www.4front-tech.com/developer/so … pl.tar.bz2
and extracted which is the only one that I found

No, you are misunderstanding.
Just follow the wiki entry instructions. Download the tarball from the aur; it has everything you need inside.

Offline

#8 2008-05-24 20:12:59

Shadowmeph
Member
From: West Coast Canada
Registered: 2008-05-19
Posts: 208

Re: getting errors when trying to sudo make install

ok well I went to aur and searched for oss and it came up with this
unsupported      modules      oss-linux 4.0_1008-1         24      OSS/Commercial driver      aquila_deus
unsupported     modules     oss-linux-free 4.0_1015-2        47     OSS/Open source driver     CuleX
unsupported     modules     oss-testing 4.1_080509-1        2     Open Sound System UNIX audio architecture (testing version)
now if I click on the 1015-2 it takes me to where I already downloaded the file
so then I download the oss-testing and extract it do the  makepkg -i
gives me exactly the same errors

Last edited by Shadowmeph (2008-05-24 20:18:00)

Offline

#9 2008-05-24 20:17:06

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: getting errors when trying to sudo make install

Shadowmeph: reading the following might help you understand what Mistfit and Dheart are suggesting:
http://wiki.archlinux.org/index.php/AUR_User_Guidelines
http://wiki.archlinux.org/index.php/ABS

Offline

#10 2008-05-24 20:21:43

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: getting errors when trying to sudo make install

http://aur.archlinux.org/packages/oss-l … ree.tar.gz

That is the link to the tarball I am telling you about. You cannot get an error about a missing oss.install file if you use that tarball..

Offline

#11 2008-05-24 20:35:29

Shadowmeph
Member
From: West Coast Canada
Registered: 2008-05-19
Posts: 208

Re: getting errors when trying to sudo make install

Misfit138 wrote:

http://aur.archlinux.org/packages/oss-l … ree.tar.gz

That is the link to the tarball I am telling you about. You cannot get an error about a missing oss.install file if you use that tarball..

thank you I will try again smile

ok it is installed now I will test it ( oh thanks all of you for the help )  smile

Last edited by Shadowmeph (2008-05-24 20:47:49)

Offline

#12 2008-05-24 20:55:26

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: getting errors when trying to sudo make install

Did you install with pacman -U oss.pkg.tar.gz ?

Offline

#13 2008-05-24 21:01:11

Shadowmeph
Member
From: West Coast Canada
Registered: 2008-05-19
Posts: 208

Re: getting errors when trying to sudo make install

no I followed the instructions here http://wiki.archlinux.org/index.php/OSS

Offline

#14 2008-05-24 21:25:16

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: getting errors when trying to sudo make install

Yes I see. I forgot it said use makepkg -i
BTW. The tarball is at the bottom of the AUR page.

Offline

#15 2008-05-24 21:39:39

Shadowmeph
Member
From: West Coast Canada
Registered: 2008-05-19
Posts: 208

Re: getting errors when trying to sudo make install

oh I have it installed and did the osstest but I have no sound at all I had the same problems with Ubuntu hardy but I am very sure that the fix is going to be different on this OS which for ubuntu is to install gstreamer0.10-plugins-bad

Last edited by Shadowmeph (2008-05-24 21:42:58)

Offline

#16 2008-05-24 21:46:30

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: getting errors when trying to sudo make install

Shadowmeph wrote:

oh I have it installed and did the osstest but I have no sound at all I had the same problems with Ubuntu hardy but I am very sure that the fix is going to be different on this OS which for ubuntu is to install gstreamer0.10-plugins-bad

Yes. Just, for next time you use the AUR. The PKGBUILD and tarball are at the bottom of the page on the left.
wink

Offline

#17 2008-05-25 00:06:22

Shadowmeph
Member
From: West Coast Canada
Registered: 2008-05-19
Posts: 208

Re: getting errors when trying to sudo make install

Misfit138 wrote:
Shadowmeph wrote:

oh I have it installed and did the osstest but I have no sound at all I had the same problems with Ubuntu hardy but I am very sure that the fix is going to be different on this OS which for ubuntu is to install gstreamer0.10-plugins-bad

Yes. Just, for next time you use the AUR. The PKGBUILD and tarball are at the bottom of the page on the left.
wink

huh? ok then I must be looking at the wrong pages http://aur.archlinux.org/packages.php because at the bottom of the page to the left doesn't make sense to me lol

Offline

#18 2008-05-25 03:08:47

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: getting errors when trying to sudo make install

http://aur.archlinux.org/packages.php?d … 1&ID=14421

On that page, look at the bottom left where it says "Tarball, Files, PKGBUILD"
Click on Tarball.
That's how you use the AUR manually. Look into Yaourt for a completely automatic method. wink
Enjoy

Offline

#19 2008-05-25 17:44:27

Shadowmeph
Member
From: West Coast Canada
Registered: 2008-05-19
Posts: 208

Re: getting errors when trying to sudo make install

Misfit138 wrote:

http://aur.archlinux.org/packages.php?d … 1&ID=14421

On that page, look at the bottom left where it says "Tarball, Files, PKGBUILD"
Click on Tarball.
That's how you use the AUR manually. Look into Yaourt for a completely automatic method. wink
Enjoy

Lol thats to funny for some reason I just took a quick glance and seen it as a dir not as seperate downloads so I was clicking on the pkbuild and downloading that   doh\

on a different not I went to http://www.4front-tech.com and posted in there about my sound problems and "cesium" told me that I should use :
http://www.fileupyours.com/view/77985/pkgb.tar.bz2
which I did I have to say that he helped me out ..allot he helped me ( ok instructed me ) how to rebuild the package and install it

run makepkg as normal user

install the result (as root) via pacman...

which was a huge adventure for a Noob like me smile  after I installed the package I built from what he gave me I didn't have any sound it took me a nights sleep and a ( twentieth) reread of the post that I made on the 4front tec forums about the same problems on my Ubuntu hardy OS  then I found what I had to do, which was

 find /lib/modules -name osscore.ko | sudo xargs rm
soundoff
soundon

now  Ihave sound again smile so with the combination of you peeple and cesium I have sound once again smile  thanks for all of your help

Offline

Board footer

Powered by FluxBB