Problem installing the gimp

Anything that pertains to Portage

Moderator: Moderators

Problem installing the gimp

Postby jmak » Sat Sep 29, 2007 18:45

Hello all,

I am trying to emerge the gimp on mini 3.4. The compilation started and at the very end I get the following error message.
Could anyone make sense out of this error log and advise me how to proceed?

[31;01m* [0m
[31;01m* [0m ERROR: media-gfx/gimp-2.4.0_rc3 failed.
[31;01m* [0m Call stack:
[31;01m* [0m ebuild.sh, line 1700: Called dyn_setup
[31;01m* [0m ebuild.sh, line 749: Called qa_call 'pkg_setup'
[31;01m* [0m ebuild.sh, line 44: Called pkg_setup
[31;01m* [0m gimp-2.4.0_rc3.ebuild, line 60: Called built_with_use 'media-libs/alsa-lib' 'midi'
[31;01m* [0m eutils.eclass, line 1720: Called die
[31;01m* [0m The specific snippet of code:
[31;01m* [0m die) die "$PKG does not actually support the $1 USE flag!";;
[31;01m* [0m The die message:
[31;01m* [0m media-libs/alsa-lib-1.0.14_rc3 does not actually support the midi USE flag!
[31;01m* [0m
[31;01m* [0m If you need support, post the topmost build error, and the call stack if relevant.
[31;01m* [0m A complete build log is located at '/var/tmp/portage/media-gfx/gimp-2.4.0_rc3/temp/build.log'.
[31;01m* [0m

Thanks a lot.
jmak
jmak
Simple Hen
 
Posts: 77
Joined: Sun Jun 10, 2007 14:31

Re: Problem installing the gimp

Postby wolfden » Sat Sep 29, 2007 18:47

moved, please use the correct forum for your topics

thanks
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Problem installing the gimp

Postby Stupot » Sat Sep 29, 2007 18:55

[31;01m* [0m media-libs/alsa-lib-1.0.14_rc3 does not actually support the midi USE flag!

Seems like you're trying to use a USE flag where it doesn't belong.
Stupot
Sagely Hen
 
Posts: 1556
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Problem installing the gimp

Postby jmak » Sat Sep 29, 2007 20:42

Thanks stupot, could you elaborate how to fix this?

jmak
jmak
Simple Hen
 
Posts: 77
Joined: Sun Jun 10, 2007 14:31

Re: Problem installing the gimp

Postby Stupot » Sat Sep 29, 2007 21:43

Not one hundred percent sure that this will fix your problem, but I would start by emerging to the latest version of alsa-lib (which does support a midi flag, as opposed to alsa-lib-1.0.14_rc3 . After updating that, try emerging gimp again. I currently have alsa-lib-1.0.14_rc3 installed and gimp-2.4.0_rc2 installed.

I will attempt to update to gimp_yada_rc3 as soon as I'm done updating everything else I'm currently working on.
Stupot
Sagely Hen
 
Posts: 1556
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Problem installing the gimp

Postby jmak » Sat Sep 29, 2007 23:20

I've tried to update to a newer alsa librarary but the update failed.

jmak
jmak
Simple Hen
 
Posts: 77
Joined: Sun Jun 10, 2007 14:31

Re: Problem installing the gimp

Postby jmak » Sun Sep 30, 2007 0:55

When I attempt to update the alsa library I get the following error:

python.c:30: error: expected specifier-qualifier-list before 'PyObject'
python.c:38: error: expected specifier-qualifier-list before 'PyObject_HEAD'
python.c:45: error: expected specifier-qualifier-list before 'PyObject_HEAD'
python.c:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c:59: error: expected ')' before '*' token
python.c: In function 'melem_to_pymelem':
python.c:77: error: 'struct pymelem' has no member named 'selem'
python.c: At top level:
python.c:80: error: expected declaration specifiers or '...' before 'PyObject'
python.c:80: error: expected declaration specifiers or '...' before 'PyObject'
python.c: In function 'pcall':
python.c:82: error: 'PyObject' undeclared (first use in this function)
python.c:82: error: (Each undeclared identifier is reported only once
python.c:82: error: for each function it appears in.)
python.c:82: error: 'obj' undeclared (first use in this function)
python.c:82: error: expected expression before ')' token
python.c:85: error: '_res' undeclared (first use in this function)
python.c:89: error: 'PyExc_TypeError' undeclared (first use in this function)
python.c:92: error: 'args' undeclared (first use in this function)
python.c:95: error: 'res' undeclared (first use in this function)
python.c:108: error: 'Py_None' undeclared (first use in this function)
python.c:111: error: 'Py_True' undeclared (first use in this function)
python.c: In function 'is_ops':
python.c:129: error: 'PyObject' undeclared (first use in this function)
python.c:129: error: 'obj1' undeclared (first use in this function)
python.c:151: error: too many arguments to function 'pcall'
python.c: In function 'get_x_range_ops':
python.c:158: error: 'PyObject' undeclared (first use in this function)
python.c:158: error: 'obj1' undeclared (first use in this function)
python.c:158: error: 'res' undeclared (first use in this function)
python.c:164: error: too many arguments to function 'pcall'
python.c:170: error: 'PyExc_TypeError' undeclared (first use in this function)
python.c: In function 'set_range_ops':
python.c:196: error: 'PyObject' undeclared (first use in this function)
python.c:196: error: 'obj1' undeclared (first use in this function)
python.c:203: error: too many arguments to function 'pcall'
python.c: In function 'get_x_ops':
python.c:210: error: 'PyObject' undeclared (first use in this function)
python.c:210: error: 'obj1' undeclared (first use in this function)
python.c:210: error: 'res' undeclared (first use in this function)
python.c:217: error: too many arguments to function 'pcall'
python.c:223: error: 'PyExc_TypeError' undeclared (first use in this function)
python.c: In function 'set_volume_ops':
python.c:271: error: 'PyObject' undeclared (first use in this function)
python.c:271: error: 'obj1' undeclared (first use in this function)
python.c:278: error: too many arguments to function 'pcall'
python.c: In function 'set_switch_ops':
python.c:285: error: 'PyObject' undeclared (first use in this function)
python.c:285: error: 'obj1' undeclared (first use in this function)
python.c:292: error: too many arguments to function 'pcall'
python.c: In function 'set_dB_ops':
python.c:299: error: 'PyObject' undeclared (first use in this function)
python.c:299: error: 'obj1' undeclared (first use in this function)
python.c:307: error: too many arguments to function 'pcall'
python.c: In function 'enum_item_name_ops':
python.c:314: error: 'PyObject' undeclared (first use in this function)
python.c:314: error: 'obj1' undeclared (first use in this function)
python.c:314: error: 'res' undeclared (first use in this function)
python.c:322: error: too many arguments to function 'pcall'
python.c:326: error: 'PyExc_TypeError' undeclared (first use in this function)
python.c:331: warning: assignment makes pointer from integer without a cast
python.c: In function 'get_enum_item_ops':
python.c:347: error: 'PyObject' undeclared (first use in this function)
python.c:347: error: 'obj1' undeclared (first use in this function)
python.c:347: error: 'res' undeclared (first use in this function)
python.c:353: error: too many arguments to function 'pcall'
python.c:357: error: 'PyExc_TypeError' undeclared (first use in this function)
python.c: In function 'set_enum_item_ops':
python.c:373: error: 'PyObject' undeclared (first use in this function)
python.c:373: error: 'obj1' undeclared (first use in this function)
python.c:379: error: too many arguments to function 'pcall'
python.c: At top level:
python.c:408: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c:414: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c:420: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c:426: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c:433: error: expected declaration specifiers or '...' before 'PyObject'
python.c: In function 'pymelem_set_caps':
python.c:435: error: 'val' undeclared (first use in this function)
python.c:436: error: 'PyExc_TypeError' undeclared (first use in this function)
python.c:439: error: 'struct pymelem' has no member named 'selem'
python.c: At top level:
python.c:443: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c:449: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c:455: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c:461: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c:481: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c:501: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c:509: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c:518: error: expected declaration specifiers or '...' before 'PyObject'
python.c:518: error: expected declaration specifiers or '...' before 'PyObject'
python.c: In function 'pymelem_init':
python.c:525: error: 'args' undeclared (first use in this function)
python.c:525: error: 'struct pymelem' has no member named 'py_mixer'
python.c:527: error: 'struct pymelem' has no member named 'selem'
python.c:527: error: 'struct pymelem' has no member named 'selem'
python.c:532: error: 'struct pymelem' has no member named 'selem'
python.c:533: error: 'struct pymelem' has no member named 'selem'
python.c:534: error: 'struct pymelem' has no member named 'melem'
python.c:535: error: 'struct pymelem' has no member named 'selem'
python.c: In function 'pymelem_dealloc':
python.c:546: error: 'struct pymelem' has no member named 'melem'
python.c:547: error: 'struct pymelem' has no member named 'ob_type'
python.c: At top level:
python.c:550: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pymelem_getseters'
python.c:573: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pymelem_methods'
python.c:592: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pymelem_type'
python.c:607: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c:638: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c:653: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c:692: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c:711: error: expected declaration specifiers or '...' before 'PyObject'
python.c:711: error: expected declaration specifiers or '...' before 'PyObject'
python.c: In function 'pymixer_init':
python.c:715: error: 'args' undeclared (first use in this function)
python.c:715: error: 'struct pymixer' has no member named 'mdict'
python.c:717: error: 'struct pymixer' has no member named 'class'
python.c:718: error: 'struct pymixer' has no member named 'mixer'
python.c:719: error: 'struct pymixer' has no member named 'hctl_count'
python.c:720: error: 'struct pymixer' has no member named 'hctl'
python.c:721: error: 'struct pymixer' has no member named 'helem_count'
python.c:722: error: 'struct pymixer' has no member named 'helem'
python.c:723: error: 'struct pymixer' has no member named 'melem_count'
python.c:724: error: 'struct pymixer' has no member named 'melem'
python.c: In function 'pymixer_free':
python.c:733: error: 'struct pymixer' has no member named 'hctl_count'
python.c:734: error: 'struct pymixer' has no member named 'mixer'
python.c:734: error: 'struct pymixer' has no member named 'hctl'
python.c:735: error: 'PyObject' undeclared (first use in this function)
python.c:735: error: expected expression before ')' token
python.c:737: error: 'struct pymixer' has no member named 'hctl'
python.c:738: error: 'struct pymixer' has no member named 'hctl'
python.c:739: error: 'struct pymixer' has no member named 'hctl_count'
python.c:740: error: 'struct pymixer' has no member named 'hctl'
python.c:741: error: 'struct pymixer' has no member named 'helem_count'
python.c:742: error: expected expression before ')' token
python.c:743: error: 'struct pymixer' has no member named 'helem'
python.c:744: error: 'struct pymixer' has no member named 'helem'
python.c:745: error: 'struct pymixer' has no member named 'helem_count'
python.c:746: error: 'struct pymixer' has no member named 'helem'
python.c:747: error: 'struct pymixer' has no member named 'melem_count'
python.c:748: error: expected expression before ')' token
python.c:749: error: 'struct pymixer' has no member named 'melem'
python.c:750: error: 'struct pymixer' has no member named 'melem'
python.c:751: error: 'struct pymixer' has no member named 'melem_count'
python.c:752: error: 'struct pymixer' has no member named 'melem'
python.c: In function 'pymixer_dealloc':
python.c:759: error: 'struct pymixer' has no member named 'ob_type'
python.c: At top level:
python.c:762: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pymixer_getseters'
python.c:766: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pymixer_methods'
python.c:774: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pymixer_type'
python.c:789: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'python_methods'
python.c:793: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c:841: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c:853: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
python.c: In function 'alsa_mixer_simple_event':
python.c:869: error: 'PyThreadState' undeclared (first use in this function)
python.c:869: error: 'tstate' undeclared (first use in this function)
python.c:869: error: 'origstate' undeclared (first use in this function)
python.c:870: error: 'PyObject' undeclared (first use in this function)
python.c:870: error: 't' undeclared (first use in this function)
python.c:870: error: 'o' undeclared (first use in this function)
python.c:870: error: 'r' undeclared (first use in this function)
python.c:873: error: 'main_interpreter' undeclared (first use in this function)
python.c:878: error: expected expression before ')' token
python.c:888: error: 'Py_None' undeclared (first use in this function)
python.c:891: error: 'struct python_priv' has no member named 'py_event_func'
python.c: In function 'alsa_mixer_simple_free':
python.c:914: error: 'struct python_priv' has no member named 'py_mixer'
python.c:915: error: 'struct python_priv' has no member named 'py_mixer'
python.c:916: error: 'struct python_priv' has no member named 'py_mixer'
python.c:919: error: 'struct python_priv' has no member named 'py_event_func'
python.c: In function 'alsa_mixer_simple_finit':
python.c:932: error: 'PyObject' undeclared (first use in this function)
python.c:932: error: 'obj' undeclared (first use in this function)
python.c:932: error: 'obj1' undeclared (first use in this function)
python.c:932: error: 'obj2' undeclared (first use in this function)
python.c:932: error: 'py_mod' undeclared (first use in this function)
python.c:932: error: 'mdict' undeclared (first use in this function)
python.c:952: error: 'pymelem_type' undeclared (first use in this function)
python.c:954: error: 'pymixer_type' undeclared (first use in this function)
python.c:956: error: 'python_methods' undeclared (first use in this function)
python.c:958: error: 'main_interpreter' undeclared (first use in this function)
python.c:958: error: invalid type argument of '->'
python.c:962: error: 'struct python_priv' has no member named 'py_mdict'
python.c:972: error: expected expression before ')' token
python.c:973: error: expected expression before ')' token
python.c:984: error: 'struct python_priv' has no member named 'py_mixer'
python.c:991: error: 'Py_file_input' undeclared (first use in this function)
python.c:995: error: 'struct python_priv' has no member named 'py_event_func'
python.c:996: error: 'struct python_priv' has no member named 'py_event_func'
make[3]: *** [smixer_python_la-python.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
?[31;01m*?[0m
?[31;01m*?[0m ERROR: media-libs/alsa-lib-1.0.15_rc2 failed.
?[31;01m*?[0m Call stack:
?[31;01m*?[0m ebuild.sh, line 1684: Called dyn_compile
?[31;01m*?[0m ebuild.sh, line 1020: Called qa_call 'src_compile'
?[31;01m*?[0m ebuild.sh, line 44: Called src_compile
?[31;01m*?[0m alsa-lib-1.0.15_rc2.ebuild, line 58: Called die
?[31;01m*?[0m The specific snippet of code:
?[31;01m*?[0m emake || die "make failed"
?[31;01m*?[0m The die message:
?[31;01m*?[0m make failed
?[31;01m*?[0m
?[31;01m*?[0m If you need support, post the topmost build error, and the call stack if relevant.
?[31;01m*?[0m A complete build log is located at '/var/tmp/portage/media-libs/alsa-lib-1.0.15_rc2/temp/build.log'.
?[31;01m*?[0m



jmak
jmak
Simple Hen
 
Posts: 77
Joined: Sun Jun 10, 2007 14:31

Re: Problem installing the gimp

Postby Stupot » Sun Sep 30, 2007 3:47

I updated my alsa-lib to 1.01.41-r1 (as opposed to the newest 1.0.15_rc2) with the midi USE flag and then updated gimp and it worked fine. I also couldn't update alsa-1.0.15_rc2.
Stupot
Sagely Hen
 
Posts: 1556
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Problem installing the gimp

Postby jerryf196 » Tue Oct 09, 2007 0:18

i tried all these steps and it didn't work.

Please can someone give me a step by step instructions...

thanks
jerryf196
Simple Hen
 
Posts: 42
Joined: Sat Jul 28, 2007 16:43

Re: Problem installing the gimp

Postby lucknuts » Wed Oct 10, 2007 6:25

jerryf196 wrote:i tried all these steps and it didn't work.

Please can someone give me a step by step instructions...

thanks

\

I agree, spent a lot of time reading, and trying to figure it out...
Yes, I'm new at this.
Will learn. WIll teach.
lucknuts
Growing Hen
 
Posts: 100
Joined: Fri Sep 28, 2007 6:48
Location: United States of America

Next

Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest