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

2018-02-04 Thread Americo Gobbo

Hi Jehan,

On 03/02/2018 22:47, Jehan Pagès wrote:

Well there is nothing in the command line itself which relates to
libexiv2. It looks like there is something wrong in the libtool script
wrapper generated by the build system. Delete the file "libtool" which
you will find in the root of the git repository. Then run the
configure script again (this will create again the libtool wrapper),
then make and let's see what happens.

Is the same behavior... very strange.

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

---

This is my 'autogen.sh' output:

config.status: creating po/Makefile

Building GEGL with prefix=/opt/gimp-default-master

Optional features:
  GEGL docs:   yes
  Build workshop:  no
  Build website:   yes
  SIMD:    sse:yes mmx:yes
  Vala support:    yes

Optional dependencies:
  asciidoc:    yes
  enscript:    no  (enscript not found)
  mrg: no  (mrg not found)
  Ruby:    yes
  Lua: yes
  Cairo:   yes
  Pango:   no  (usable pango not found)
  pangocairo:  no  (usable pangocairo not found)
  GDKPixbuf:   no  (gdk-pixbuf not found)
  JPEG:    yes
  PNG: yes
  OpenEXR: yes
  rsvg:    yes
  SDL: yes
  libraw:  no  (libraw library not found)
  Jasper:  yes
  graphviz:    no  (graphviz not found)
  avformat:    no  (sufficiently new libavformat / libavcodec or 
libswcale not found)

  V4L: no   (v4l library not found)
  V4L2:    no  (usable libv4l2 not found)
  spiro:   yes
  EXIV:    yes
  gexiv2:  yes
  umfpack: yes
  TIFF yes
  webp:    no  (webp library not found)
  poly2tri-c:  yes (internal)

We have optional dependencies not resolved... it seems that they are 
'optional', correct!

ciao e thanks
americo

___
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-03 Thread Jehan Pagès
On Sun, Feb 4, 2018 at 1:14 AM, Americo Gobbo  wrote:
> Hi Jehan,
>
> On 03/02/2018 22:06, Jehan Pagès wrote:
>>
>> Hi!
>>
>> On Sun, Feb 4, 2018 at 12:59 AM, Americo Gobbo 
>> wrote:
>>>
>>> Hi Jehan,
>>> I have used the git repository to build.
>>> config.log is of my traditional environment to gegl
>>> config-new.log is of a ex-novo environment to gegl to test if was making
>>> something wrong in the traditional env.
>>
>> Both seem fine. pkg-config does not seem to detect any exiv2 in
>> /usr/local/.
>> Are the build still broken and outputting the same errors?
>>
>> Jehan
>
> This is final of my 'make' messages:
>
>   CCLD gegl
> 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
> ---
>
> In fact the archives are installed in another directory
>
> '/usr/lib/x86_64-linux-gnu/' instead that '/usr/local/lib/'

Well I'm lost. Are you sure you did a build from a fresh start? No
files at all from a previous build?
You can run `git clean -dfx` to erase every file from the repository
which are not in git (be careful not to run it carelessly and erase
important personal files!).

Other than this, I really have no idea with only this.
But if you still have the error, please run `make V=1`. This will make
the build verbose and tell exactly which command was run. But first,
you should make sure you did a fresh build, really from scratch.

Jehan

-- 
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/
Patreon: https://patreon.com/zemarmot
Tipeee: https://www.tipeee.com/zemarmot
___
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-03 Thread Americo Gobbo

Hi Jehan,

On 03/02/2018 22:06, Jehan Pagès wrote:

Hi!

On Sun, Feb 4, 2018 at 12:59 AM, Americo Gobbo  wrote:

Hi Jehan,
I have used the git repository to build.
config.log is of my traditional environment to gegl
config-new.log is of a ex-novo environment to gegl to test if was making
something wrong in the traditional env.

Both seem fine. pkg-config does not seem to detect any exiv2 in /usr/local/.
Are the build still broken and outputting the same errors?

Jehan

This is final of my 'make' messages:

  CCLD gegl
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
---

In fact the archives are installed in another directory

'/usr/lib/x86_64-linux-gnu/' instead that '/usr/local/lib/'

___
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-03 Thread Jehan Pagès
Hi!

On Sun, Feb 4, 2018 at 12:59 AM, Americo Gobbo  wrote:
> Hi Jehan,
> I have used the git repository to build.
> config.log is of my traditional environment to gegl
> config-new.log is of a ex-novo environment to gegl to test if was making
> something wrong in the traditional env.

Both seem fine. pkg-config does not seem to detect any exiv2 in /usr/local/.
Are the build still broken and outputting the same errors?

Jehan

> ciao
> americo
>
>
>
> On 03/02/2018 21:38, Jehan Pagès wrote:
>>
>> Were you building inside the git repository or in a separate
>> directory? In the second case, make sure the build directory is empty.
>> Could you send us the contents of "config.log"? Since gexiv2 and exiv2
>> are looked up with pkg-config, it will allow us to see what was
>> detected too.
>>
>> Since you can't attach a file, just copy-paste its contents somewhere,
>> for instance athttps://paste.gnome.org/
>> Thanks!
>
>



-- 
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/
Patreon: https://patreon.com/zemarmot
Tipeee: https://www.tipeee.com/zemarmot
___
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-03 Thread Americo Gobbo

Hi Tobias,
thanks!

On 03/02/2018 08:40, Tobias Ellinghaus wrote:

Am Samstag, 3. Februar 2018, 03:13:18 CET schrieb 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?

Is that a fresh git clone or did you compile in the directory before? Maybe
you used to have libexiv2 installed in/usr/local/  and that was picked up by
autofoo in the past and now it still remembers the old location.

Yes, because them are in another directory: /usr/lib/x86_64-linux-gnu
So, how is possible resolve this without 'ln -s', also because it does 
not work?


Linking libraries around (using ln -s, not ld) is not the solution and a
terrible idea.


correct.

___
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-03 Thread Tobias Ellinghaus
Am Samstag, 3. Februar 2018, 03:13:18 CET schrieb 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?

Is that a fresh git clone or did you compile in the directory before? Maybe 
you used to have libexiv2 installed in /usr/local/ and that was picked up by 
autofoo in the past and now it still remembers the old location.

Linking libraries around (using ln -s, not ld) is not the solution and a 
terrible idea.

> Thanks
> americo

Tobias

signature.asc
Description: This is a digitally signed message part.
___
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,

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