Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Jpegsrc not compiling
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
RickDB
Apprentice
Apprentice


Joined: 20 Sep 2002
Posts: 155
Location: Netherlands

PostPosted: Sat Nov 16, 2002 3:52 pm    Post subject: Jpegsrc not compiling Reply with quote

I need jpegsrc to compile because of kde, but it gives an error when compiling:

----------------------------------------
make:./libtool : command not found
make: *** [jpcapimin.Lo] error 127
Error: the ebuild did not complete succesfully
Function src_compil , line -147, errorcode 2
No error message
---------------------------------------

I typed this over so there are typos ;)
Anyway to fix this?
Back to top
View user's profile Send private message
scdgro
n00b
n00b


Joined: 16 Nov 2002
Posts: 56

PostPosted: Sat Nov 16, 2002 4:11 pm    Post subject: Reply with quote

In my post about samba i'm complaining about the same.
I thought it was samba who was the cause, but after a better glance it turned out to be the media-libs / jpeg package.

Just a buggy package i guess
Back to top
View user's profile Send private message
RickDB
Apprentice
Apprentice


Joined: 20 Sep 2002
Posts: 155
Location: Netherlands

PostPosted: Sat Nov 16, 2002 4:26 pm    Post subject: Reply with quote

Damn this wasn't last time i installed(hd crash), so there is no other way then just wait for a new release or bug fix?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sat Nov 16, 2002 5:01 pm    Post subject: Reply with quote

What is the actual ebuild? I don't see a jpegsrc ebuild.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
RickDB
Apprentice
Apprentice


Joined: 20 Sep 2002
Posts: 155
Location: Netherlands

PostPosted: Sat Nov 16, 2002 5:11 pm    Post subject: Reply with quote

kanuslupus wrote:
What is the actual ebuild? I don't see a jpegsrc ebuild.



I am typing this with lynx so the text could be bogus ;) , but i meant the Jpeg ebuild its in /usr/portage/media-lib/jpeg but it just said jpegsrc when compiling :)
Back to top
View user's profile Send private message
mxskweeb
n00b
n00b


Joined: 19 Oct 2002
Posts: 28
Location: phoenix

PostPosted: Sat Nov 16, 2002 5:29 pm    Post subject: Reply with quote

RickDB wrote:
so there is no other way then just wait for a new release or bug fix?


I just emerged jpeg-6b-r2.ebuild instead of r3, then emerge -p kde doesn't show the jpeg lib as a dependency anymore. Emerge of the rest of the KDE deps seems to be going fine. I reckon I'll try emerging the r3 version of jpeg in a few days.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sat Nov 16, 2002 5:32 pm    Post subject: Reply with quote

Looks like jpeg-6b-r3.ebuild (the latest version I see) was released on Nov 15th.
jpeg-6b-r3.ebuild wrote:
# $Header: /home/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-6b-r3.ebuild,v 1.1 2002/11/15 20:26:20 chouser Exp $
I compiled it last night without troubles, so I don't think the ebuild is the specific problem (I'm not using KDE). Are you having problems with this, or an older version?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
RickDB
Apprentice
Apprentice


Joined: 20 Sep 2002
Posts: 155
Location: Netherlands

PostPosted: Sat Nov 16, 2002 5:49 pm    Post subject: Reply with quote

kanuslupus wrote:
Looks like jpeg-6b-r3.ebuild (the latest version I see) was released on Nov 15th.
jpeg-6b-r3.ebuild wrote:
# $Header: /home/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-6b-r3.ebuild,v 1.1 2002/11/15 20:26:20 chouser Exp $
I compiled it last night without troubles, so I don't think the ebuild is the specific problem (I'm not using KDE). Are you having problems with this, or an older version?



I am also using the newest ebuild the R3 one, i still think its the ebuild.
Maybe someone changed the ebuild today?
Back to top
View user's profile Send private message
scdgro
n00b
n00b


Joined: 16 Nov 2002
Posts: 56

PostPosted: Sat Nov 16, 2002 9:05 pm    Post subject: Reply with quote

All right, i 've done some tooling, and it works for me.

Look at www.nedlinux.nl/~scdgro and dowload the file update.tar.gz

and read the update file

the whole operation is of replacing two files. I dont know the result if you do an rsync, but just replace and emerge jpeg and it should work
Succes everybody


Last edited by scdgro on Sat Nov 16, 2002 9:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
ChristopherSummers
n00b
n00b


Joined: 16 Nov 2002
Posts: 3

PostPosted: Sat Nov 16, 2002 9:14 pm    Post subject: All I did to fix the problem Reply with quote

This issue was really pretty easy to fix. Just cd /usr/portage/media-libs/jpeg

edit jpeg-6b-r3.ebuild

look for sed 's/ltconfig.*/& $host/' configure.orig > configure

and change it to say

sed 's/ltconfig.*/& $chost/' configure.orig > configure

Basicly just change $host to $chost

Looks like someone just missed a letter in the variable is all.
Back to top
View user's profile Send private message
scdgro
n00b
n00b


Joined: 16 Nov 2002
Posts: 56

PostPosted: Sat Nov 16, 2002 9:17 pm    Post subject: Reply with quote

So whats the difference between host and chost ?
Back to top
View user's profile Send private message
ChristopherSummers
n00b
n00b


Joined: 16 Nov 2002
Posts: 3

PostPosted: Sat Nov 16, 2002 9:21 pm    Post subject: Reply with quote

Everything is based off of preset variables that are stored in /etc/make.conf. $host doesnt exist there but $chost does. I think it was just typed wrong in the ebuild script for jpeg /shrug
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sat Nov 16, 2002 9:28 pm    Post subject: Reply with quote

Did anyone check for an existing bug report at bugs.gentoo.org, and submit one if it didn't exist?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
ChristopherSummers
n00b
n00b


Joined: 16 Nov 2002
Posts: 3

PostPosted: Sat Nov 16, 2002 9:54 pm    Post subject: bugzilla Reply with quote

I checked and didnt find a bug so I sent one in. I also added a comment on how I worked around the issue.

It is bug 10844
Back to top
View user's profile Send private message
scdgro
n00b
n00b


Joined: 16 Nov 2002
Posts: 56

PostPosted: Sat Nov 16, 2002 11:18 pm    Post subject: Reply with quote

See here the mind of the open source people. Perfect.
Problem solved before you can say : oh no, not again

(and no begging to m$, oh please make a patch)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum