Problems building git version
Forums ► For GIMP developers (read-only) ► Problems building git version
-
Emil Assarsson
(almost 2 years ago)
-
Michael Natterer
(almost 2 years ago)
-
Emil Assarsson
(almost 2 years ago)
-
Martin Nordholts
(almost 2 years ago)
- Emil Assarsson (almost 2 years ago)
-
Martin Nordholts
(almost 2 years ago)
-
Emil Assarsson
(almost 2 years ago)
-
Michael Natterer
(almost 2 years ago)
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 2Do 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 messIf 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



