Problems building git version

ForumsFor GIMP developers (read-only) ► Problems building git version

Sent: 2010-03-17 22:49:25 UTC (almost 2 years ago)

From: Emil Assarsson

Problems building git version

Hi,

I can't build Gimp from the git:

Making all in libgimpwidgets
make[2]: Entering directory `/home/emil/gimp-build/gimp/libgimpwidgets'
CC gimpstock.lo
gimpstock.c:394: error: ‘stock_input_device_22’ undeclared here (not
in a function)
gimpstock.c:521: error: ‘stock_input_device_16’ undeclared here (not
in a function)
gimpstock.c:521: error: initializer element is not constant
gimpstock.c:521: error: (near initialization for
‘gimp_stock_menu_pixbufs[24].inline_data’)
make[2]: *** [gimpstock.lo] Fel 1
make[2]: Leaving directory `/home/emil/gimp-build/gimp/libgimpwidgets'
make[1]: *** [all-recursive] Fel 1
make[1]: Leaving directory `/home/emil/gimp-build/gimp'
make: *** [all] Fel 2

Do I need to upgrade xorg or something?

--
Emil
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Sent: 2010-03-18 11:28:40 UTC (almost 2 years ago)

From: Michael Natterer

Problems building git version

On Wed, 2010-03-17 at 22:49 +0100, Emil Assarsson wrote:
> Hi,
>
> I can't build Gimp from the git:
>
> Making all in libgimpwidgets
> make[2]: Entering directory `/home/emil/gimp-build/gimp/libgimpwidgets'
> CC gimpstock.lo
> gimpstock.c:394: error: ‘stock_input_device_22’ undeclared here (not
> in a function)
> gimpstock.c:521: error: ‘stock_input_device_16’ undeclared here (not
> in a function)
> gimpstock.c:521: error: initializer element is not constant
> gimpstock.c:521: error: (near initialization for
> ‘gimp_stock_menu_pixbufs[24].inline_data’)
> make[2]: *** [gimpstock.lo] Fel 1
> make[2]: Leaving directory `/home/emil/gimp-build/gimp/libgimpwidgets'
> make[1]: *** [all-recursive] Fel 1
> make[1]: Leaving directory `/home/emil/gimp-build/gimp'
> make: *** [all] Fel 2
>
> Do I need to upgrade xorg or something?

No, you need to *always* use autogen.sh and *never* configure directly
when you build from git (as opposed to tarball).

--mitch

_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Sent: 2010-03-18 20:12:28 UTC (almost 2 years ago)

From: Emil Assarsson

Problems building git version

Thank you! it worked like a charm...

git pull
./autogen.sh
make distclean # wrote:
> On Wed, 2010-03-17 at 22:49 +0100, Emil Assarsson wrote:
>> Hi,
>>
>> I can't build Gimp from the git:
>>
>> Making all in libgimpwidgets
>> make[2]: Entering directory `/home/emil/gimp-build/gimp/libgimpwidgets'
>>   CC     gimpstock.lo
>> gimpstock.c:394: error: ‘stock_input_device_22’ undeclared here (not
>> in a function)
>> gimpstock.c:521: error: ‘stock_input_device_16’ undeclared here (not
>> in a function)
>> gimpstock.c:521: error: initializer element is not constant
>> gimpstock.c:521: error: (near initialization for
>> ‘gimp_stock_menu_pixbufs[24].inline_data’)
>> make[2]: *** [gimpstock.lo] Fel 1
>> make[2]: Leaving directory `/home/emil/gimp-build/gimp/libgimpwidgets'
>> make[1]: *** [all-recursive] Fel 1
>> make[1]: Leaving directory `/home/emil/gimp-build/gimp'
>> make: *** [all] Fel 2
>>
>> Do I need to upgrade xorg or something?
>
> No, you need to *always* use autogen.sh and *never* configure directly
> when you build from git (as opposed to tarball).
>
> --mitch
>
>
>

--
Emil
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Sent: 2010-03-18 20:14:46 UTC (almost 2 years ago)

From: Martin Nordholts

Problems building git version

On 03/18/2010 08:12 PM, Emil Assarsson wrote:
> make distclean #<--- to clean up the old mess

If you want a greater feeling of satisfaction, run

git clean -xdf

instead. Warning: removes all unversioned files

I never run make distclean...

/ Martin

--

My GIMP Blog:
http://www.chromecode.com/
"Multi-column dock windows and 2.8 schedule"
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Sent: 2010-03-18 20:27:15 UTC (almost 2 years ago)

From: Emil Assarsson

Problems building git version

Quite useful :-) Thanks!

On Thu, Mar 18, 2010 at 8:17 PM, Martin Nordholts wrote:
> On 03/18/2010 08:12 PM, Emil Assarsson wrote:
>> make distclean #
> If you want a greater feeling of satisfaction, run
>
>   git clean -xdf
>
> instead. Warning: removes all unversioned files
>
> I never run make distclean...
>
>  / Martin
>
>
> --
>
> My GIMP Blog:
> http://www.chromecode.com/
> "Multi-column dock windows and 2.8 schedule"
> _______________________________________________
> Gimp-developer mailing list
> Gimp-developer@lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
>

--
Emil
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Welcome!


Lost password?

Not a member? Sign up!

Random tutorials | Latest tutorials

  1. Hot Wallpaper with Flames Hot Wallpaper with Flames 52
  2. Creating an abstract chaos explosion Creating an abstract chaos explosion 10
  3. Create a simple Grunge-Stamp! Create a simple Grunge-Stamp! 7
  4. Ashes to ashes, dust to dust. Dissolve text into particles Ashes to ashes, dust to dust. Dissolve text into particles 3

Latest comments

2.6.12 crashes on startup in windows xp. 2.6.11 works fine. (2 days ago in Last stable 2.6 release: 2.6.12 has arrived)

Thank you! You really helped! The tutorial went great for me! Tha... (5 days ago in [AVATAR] Become a real Na'Vi using GIMP!)

maybe you still selected a channel or so? explicitly click a layer ... (5 days ago in Create cool rifts with translucent lights!)

Poll

Is GIMP an adequate application for you to create printed graphics like flyers, advertisments etc?

Latest forum activities

Your Ad Here

facts & numbers

gimpusers.com RSS feed

48 identi.ca followers
748 Twitter followers

powered by bitfire it services