Re: [Gimp-developer] GEGL errors during 'make' process

2018-02-02 Thread Partha Bagchi
Americo,

Just make a symlink to get past the error. Something like:

ln -s /usr/lib/x86_64-linux-gnu/libgexiv2.so /usr/local/lib/libgexiv2.so

etc.

Though, linux systems use the silly "la" files, and so this may not work.
Better to check and see if it does work. Otherwise, yes, modify your
LDFLAGS.


On Fri, Feb 2, 2018 at 10:59 PM, Americo Gobbo 
wrote:

> Hi Partha,
> in my system these libraries are in:
>
> /usr/lib/x86_64-linux-gnu/libgexiv2.a
> /usr/lib/x86_64-linux-gnu/libgexiv2.so
>
> instead that in '/usr/local/lib/libexiv2.la'
>
> On 03/02/2018 01:46, Partha Bagchi wrote:
>
>> Hi Americo,
>>
>> What does
>> find / -name "libgexiv*.so"
>> say?
>>
>> Since I don't know how your ld.conf is setup, I am trying to guess where
>> your shared objects are. Once you find them, instead of relying on the
>> system, you can pass them directly to GIMP/GEGL while making using
>> LDFLAGS="-L/usr/lib/lib64" etc.
>>
> Perhaps I need modify my setup environment?
>
> my setup script is:
>
> less ../setup-master.sh
> PREFIX=/opt/gimp-default-master
> export PATH=$PREFIX/bin:$PATH
> export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
> export XDG_DATA_DIRS=$PREFIX/share:$XDG_DATA_DIRS
> export ACLOCAL_FLAGS="-I $PREFIX/share/aclocal"
> export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH
> export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules
> export SRC_DIR=$HOME/devel/gimp-default-master/gimp-2.9/build
> export CFLAGS='-std=gnu99 -fPIC'
> export LESS="-F -X -R"
>
>
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


Re: [Gimp-developer] GEGL errors during 'make' process

2018-02-02 Thread Americo Gobbo

Hi Partha,
in my system these libraries are in:

/usr/lib/x86_64-linux-gnu/libgexiv2.a
/usr/lib/x86_64-linux-gnu/libgexiv2.so

instead that in '/usr/local/lib/libexiv2.la'

On 03/02/2018 01:46, Partha Bagchi wrote:

Hi Americo,

What does
find / -name "libgexiv*.so"
say?

Since I don't know how your ld.conf is setup, I am trying to guess where
your shared objects are. Once you find them, instead of relying on the
system, you can pass them directly to GIMP/GEGL while making using
LDFLAGS="-L/usr/lib/lib64" etc.

Perhaps I need modify my setup environment?

my setup script is:

less ../setup-master.sh
PREFIX=/opt/gimp-default-master
export PATH=$PREFIX/bin:$PATH
export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
export XDG_DATA_DIRS=$PREFIX/share:$XDG_DATA_DIRS
export ACLOCAL_FLAGS="-I $PREFIX/share/aclocal"
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH
export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules
export SRC_DIR=$HOME/devel/gimp-default-master/gimp-2.9/build
export CFLAGS='-std=gnu99 -fPIC'
export LESS="-F -X -R"

___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


Re: [Gimp-developer] GEGL errors during 'make' process

2018-02-02 Thread Partha Bagchi
Hi Americo,

What does
find / -name "libgexiv*.so"
say?

Since I don't know how your ld.conf is setup, I am trying to guess where
your shared objects are. Once you find them, instead of relying on the
system, you can pass them directly to GIMP/GEGL while making using
LDFLAGS="-L/usr/lib/lib64" etc.


On Fri, Feb 2, 2018 at 10:31 PM, Americo Gobbo 
wrote:

> Hi Partha,
>
> ~$ pkg-config --libs exiv2
> -lexiv2
> ~$ pkg-config --libs gexiv2
> -lgexiv2 -lgobject-2.0 -lglib-2.0
>
>
> On 03/02/2018 01:27, Partha Bagchi wrote:
>
>> I see. So what does
>>
>> pkg-config --libs exiv2
>>
>> or
>>
>> pkg-config --libs gexiv2
>>
>>
>> say?
>>
>
>
>
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


Re: [Gimp-developer] GEGL errors during 'make' process

2018-02-02 Thread Americo Gobbo

Hi Partha,

~$ pkg-config --libs exiv2
-lexiv2
~$ pkg-config --libs gexiv2
-lgexiv2 -lgobject-2.0 -lglib-2.0

On 03/02/2018 01:27, Partha Bagchi wrote:

I see. So what does

pkg-config --libs exiv2

or

pkg-config --libs gexiv2


say?



___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


Re: [Gimp-developer] GEGL errors during 'make' process

2018-02-02 Thread Partha Bagchi
I see. So what does

pkg-config --libs exiv2

or

pkg-config --libs gexiv2


say?


On Fri, Feb 2, 2018 at 10:11 PM, Americo Gobbo 
wrote:

> Hi Partha,
> thanks!
> So, in my system gexiv2 and exiv2 are installed.
>
> $ sudo apt-get install libexiv2-dev libgexiv2-dev
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> libgexiv2-dev is already the newest version (0.10.3-2).
> libexiv2-dev is already the newest version (0.25-2.1ubuntu16.04.1).
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>
> It seems that doesn't find in the folder that the autogen.sh is indicating?
>
> libtool:   error: cannot find the library '/usr/local/lib/libexiv2.la' or
> unhandled argument '/usr/local/lib/libexiv2.la'
> Makefile:571: recipe for target 'gegl' failed
> make[2]: *** [gegl] Error 1
> make[2]: Leaving directory '/home/jag/devel/gimp-default-master/gegl/bin'
> Makefile:634: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/jag/devel/gimp-default-master/gegl'
> Makefile:541: recipe for target 'all' failed
> make: *** [all] Error 2
>
> On 03/02/2018 00:32, Partha Bagchi wrote:
>
>> Americo,
>>
>> I don't know about your system, but you need to make sure that you have
>> gexiv2 and exiv2 (including dev files) installed in your system.
>>
>> Partha
>>
>
>
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


Re: [Gimp-developer] GEGL errors during 'make' process

2018-02-02 Thread Americo Gobbo

Hi Partha,
thanks!
So, in my system gexiv2 and exiv2 are installed.

$ sudo apt-get install libexiv2-dev libgexiv2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgexiv2-dev is already the newest version (0.10.3-2).
libexiv2-dev is already the newest version (0.25-2.1ubuntu16.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

It seems that doesn't find in the folder that the autogen.sh is indicating?

libtool:   error: cannot find the library '/usr/local/lib/libexiv2.la' 
or unhandled argument '/usr/local/lib/libexiv2.la'

Makefile:571: recipe for target 'gegl' failed
make[2]: *** [gegl] Error 1
make[2]: Leaving directory '/home/jag/devel/gimp-default-master/gegl/bin'
Makefile:634: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/jag/devel/gimp-default-master/gegl'
Makefile:541: recipe for target 'all' failed
make: *** [all] Error 2

On 03/02/2018 00:32, Partha Bagchi wrote:

Americo,

I don't know about your system, but you need to make sure that you have
gexiv2 and exiv2 (including dev files) installed in your system.

Partha


___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


Re: [Gimp-developer] GEGL errors during 'make' process

2018-02-02 Thread Partha Bagchi
Americo,

I don't know about your system, but you need to make sure that you have
gexiv2 and exiv2 (including dev files) installed in your system.

Partha

On Fri, Feb 2, 2018 at 9:13 PM, Americo Gobbo  wrote:

> Hi All,
> I have upgrade my system to ubuntu gnome 16.04.3 and I have tried again
> compile GEGL.
> The 'autogen.sh' is finished OK, without problems.
> The 'make' process have these errors messages:
>
> gcc: error: /usr/local/lib/libexiv2.so: No such file or directory
> Makefile:571: recipe for target 'gegl' failed
> make[2]: *** [gegl] Error 1
> make[2]: Leaving directory '/home/jag/devel/gimp-default-master/gegl/bin'
> Makefile:634: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/jag/devel/gimp-default-master/gegl'
> Makefile:541: recipe for target 'all' failed
> make: *** [all] Error 2
>
> Someone can give some suggestion?
>
>
>
> Thanks
> americo
> ___
> gimp-developer-list mailing list
> List membership:https://mail.gnome.org/mailman/listinfo/gimp-deve
> loper-list
> List archives:https://mail.gnome.org/archives/gimp-developer-list
>
> ___
> gimp-developer-list mailing list
> List address:gimp-developer-list@gnome.org
> List membership: https://mail.gnome.org/mailman
> /listinfo/gimp-developer-list
> List archives:   https://mail.gnome.org/archives/gimp-developer-list
>
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


[Gimp-developer] GEGL errors during 'make' process

2018-02-02 Thread Americo Gobbo

Hi All,
I have upgrade my system to ubuntu gnome 16.04.3 and I have tried again compile 
GEGL.
The 'autogen.sh' is finished OK, without problems.
The 'make' process have these errors messages:

gcc: error: /usr/local/lib/libexiv2.so: No such file or directory
Makefile:571: recipe for target 'gegl' failed
make[2]: *** [gegl] Error 1
make[2]: Leaving directory '/home/jag/devel/gimp-default-master/gegl/bin'
Makefile:634: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/jag/devel/gimp-default-master/gegl'
Makefile:541: recipe for target 'all' failed
make: *** [all] Error 2

Someone can give some suggestion?



Thanks
americo
___
gimp-developer-list mailing list
List membership:https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:https://mail.gnome.org/archives/gimp-developer-list

___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


Re: [Gimp-developer] Gimp-git pull today fails to build - Mac

2018-02-02 Thread Partha Bagchi
On Fri, Feb 2, 2018 at 5:36 AM, Michael Natterer  wrote:

> Hi Partha,
>
> you might need the right CPPFLAGS and LDFLAGS in tools/Makefile.am,
> it doesn't look like they are there.
>
> Can you try that so it builds and then send a patch please?
>
> Thanks, Mitch
> ...
>

Hi Mitch,

I think the LDFLAGS is fine. However, we need to patch 2 files I believe:
tools/Makefile.am and app/widgets/Makefile.am

I've created a patch (attached), though I'm not sure if it's in the right
format? :(

Where should I upload it?

Thanks,
Partha
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


Re: [Gimp-developer] Gimp-git pull today fails to build - Mac

2018-02-02 Thread Michael Natterer
Hi Partha,

you might need the right CPPFLAGS and LDFLAGS in tools/Makefile.am,
it doesn't look like they are there.

Can you try that so it builds and then send a patch please?

Thanks, Mitch

On Thu, 2018-02-01 at 18:19 -0500, Partha Bagchi wrote:
> Mitch,
> 
> I get the following error while building:
> 
> Making all in tools
> >   CC   ../app/widgets/gimpdebug_2_0-gimpcriticaldialog.o
> > In file included from ../app/widgets/gimpcriticaldialog.c:35:
> > In file included from
> > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platfor
> > m/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.fr
> > amework/Headers/Cocoa.h:12:
> > In file included from
> > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platfor
> > m/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundati
> > on.framework/Headers/Foundation.h:8:
> > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platfor
> > m/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundati
> > on.framework/Headers/NSObjCRuntime.h:503:1:
> > error:
> >   expected identifier or '('
> > @class NSString, Protocol;
> > ^
> > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platfor
> > m/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundati
> > on.framework/Headers/NSObjCRuntime.h:505:9:
> > error:
> >   unknown type name 'NSString'; did you mean 'GString'?
> > typedef NSString * NSExceptionName NS_EXTENSIBLE_STRING_ENUM;
> 
> 
> Thanks,
> Partha
> ___
> gimp-developer-list mailing list
> List address:gimp-developer-list@gnome.org
> List membership: https://mail.gnome.org/mailman/listinfo/gimp-develop
> er-list
> List archives:   https://mail.gnome.org/archives/gimp-developer-list
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list