gimpusers.com logo
German version English version

Not logged in

Sign up! | Lost password?

Latest discussion

  1. gimp-user | today 10:48 AM
    Suppressing the "press any character to close this window" message in Script-Fu
  2. gimp-developer | today 10:45 AM
    Help with new default resources in 2.8
  3. gimp-docs | today 10:34 AM
    Where does the HTML documentation
  4. gimp-developer | today 09:34 AM
    html layers
  5. gimp-developer | today 08:50 AM
    Please fix Color and/or Value transfer mode

External news

Poll

Would you like to see or even participate in GFX contests hosted by gimpusers.com?

Yes, but prices for winners are important!

Yes, GFX contests are a good idea! It brings community together even if there are no prices available

No, contests are not important

Maybe, it is however not a tragedy if there are no contests. I don't care much.

See results

Stats

gimpusers.com RSS feed

GIMP Forums » For GIMP developers

Problems building git version

Jump to message:

  1. Problems building git... — Emil Assarsson, 17 Mar 2010 10:49 PM
    1. Problems building git... — Michael Natterer, 18 Mar 2010 11:28 AM
      1. Problems building git... — Emil Assarsson, 18 Mar 2010 08:12 PM
        1. Problems building git... — Martin Nordholts, 18 Mar 2010 08:14 PM
          1. Problems building git... — Emil Assarsson, 18 Mar 2010 08:27 PM

As a registered user, you can subscribe forum threads in order to get notified when replies are posted. Just log in at the right top of the page if you already have an account, otherwise you can register for free.

Permalink:b891abbf1003171449t1589ac90t92047b1bf...
Date:17 Mar 2010 10:49 PM
From:Emil Assarsson
Subject: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
↑Back to thread overview
Permalink:1268908120.11387.25.camel@localhost
Date:18 Mar 2010 11:28 AM
From:Michael Natterer
Subject: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
↑Back to thread overview
Permalink:b891abbf1003181212k4276caebt41314bc72...
Date:18 Mar 2010 08:12 PM
From:Emil Assarsson
Subject:Problems building git version
Thank you! it worked like a charm...

git pull
./autogen.sh
make distclean # <--- to clean up the old mess
./autogen.sh
./configure
make
make install

On Thu, Mar 18, 2010 at 11:28 AM, Michael Natterer <mitch@gimp.org> 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
↑Back to thread overview
Permalink:4BA27C4F.5070509@gmail.com
Date:18 Mar 2010 08:14 PM
From:Martin Nordholts
Subject: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
↑Back to thread overview
Permalink:b891abbf1003181227u5f95af0dj75e4ba256...
Date:18 Mar 2010 08:27 PM
From:Emil Assarsson
Subject:Problems building git version
Quite useful :-) Thanks!

On Thu, Mar 18, 2010 at 8:17 PM, Martin Nordholts <enselic@gmail.com> wrote:
> 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
>
--
Emil
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
↑Back to thread overview

Adobe® Photoshop® is a registered trademark of Adobe Systems, Inc. Linux is a trademark of Linus Torvalds. Ubuntu and Canonical are registered trademarks of Canonical Ltd. | Clock times are shown as CET / CEST | Imprint / Privacy policy | powered by bitfire it services | sponsored by Hirners Hotel Guide