gimp-gmic-plugin

2013-09-20 Thread Ajtim
Hi!

I try to build gimp-gmic-plugin on FreeBSD 10.0-ALPHA1 #0 r255501: Fri Sep 13 
01:57:31 UTC 2013 r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  
amd64
and I got:

gmake freebsd
gmake[3]: Entering directory `/usr/ports/graphics/gimp-gmic-
plugin/work/gmic-1.5.6.1/src'
gmake CFLAGS+=-Dgmic_build -I/usr/local/include -Wall -W -Dcimg_use_vt100  -
Dcimg_display=1 -Dcimg_appname=\\\gmic\\\ -I/usr/local/include  -
Dcimg_use_png -Dcimg_use_jpeg -Dcimg_use_tiff -Dcimg_use_zlib -
Dcimg_use_openexr -I/usr/local/include/OpenEXR -Dcimg_use_fftw3  LDFLAGS+=-
L/usr/local/lib -lm -L/usr/local/lib -lX11 -lpthread  -lpng -lz -ljpeg -ltiff -
lz -lIlmImf -lHalf -lfftw3  STRIP_EXE=1 gmic_gmic
gmake[4]: Entering directory `/usr/ports/graphics/gimp-gmic-
plugin/work/gmic-1.5.6.1/src'
g++ -o gmic_bool.o -c gmic.cpp  -Dgmic_build -I/usr/local/include -Wall -W -
Dcimg_use_vt100  -Dcimg_display=1 -Dcimg_appname=\gmic\ -I/usr/local/include  
-Dcimg_use_png -Dcimg_use_jpeg -Dcimg_use_tiff -Dcimg_use_zlib -
Dcimg_use_openexr -I/usr/local/include/OpenEXR -Dcimg_use_fftw3  -
Dgmic_split_compilation -Dgmic_bool
gmake[4]: g++: Command not found
gmake[4]: *** [gmic_bool.o] Error 127
gmake[4]: Leaving directory `/usr/ports/graphics/gimp-gmic-
plugin/work/gmic-1.5.6.1/src'
gmake[3]: *** [freebsd] Error 2
gmake[3]: Leaving directory `/usr/ports/graphics/gimp-gmic-
plugin/work/gmic-1.5.6.1/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/graphics/gimp-gmic-
plugin/work/gmic-1.5.6.1/src'
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/gimp-gmic-plugin
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/gimp-gmic-plugin

=== make failed for graphics/gimp-gmic-plugin
=== Aborting update

=== Killing background jobs
Terminated

=== You can restart from the point of failure with this command line:
   portmaster flags graphics/gimp-gmic-plugin 

=== Exiting

Thanks in advance.

-- 
Mitja
---
http://redbubble.com/people/lumiwa
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: gimp-gmic-plugin

2013-09-20 Thread Andreas Nilsson
This is not related to current, is simply caused by home-brewn build system.

This should, imho, be reported to gmic developers.

As a workaround you can add
CC=c++
in the port Makefile and it should be better off.

Best regards
Andreas


On Fri, Sep 20, 2013 at 12:13 PM, Ajtim lum...@gmail.com wrote:

 Hi!

 I try to build gimp-gmic-plugin on FreeBSD 10.0-ALPHA1 #0 r255501: Fri Sep
 13
 01:57:31 UTC 2013 r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC
 amd64
 and I got:

 gmake freebsd
 gmake[3]: Entering directory `/usr/ports/graphics/gimp-gmic-
 plugin/work/gmic-1.5.6.1/src'
 gmake CFLAGS+=-Dgmic_build -I/usr/local/include -Wall -W -Dcimg_use_vt100
  -
 Dcimg_display=1 -Dcimg_appname=\\\gmic\\\ -I/usr/local/include  -
 Dcimg_use_png -Dcimg_use_jpeg -Dcimg_use_tiff -Dcimg_use_zlib -
 Dcimg_use_openexr -I/usr/local/include/OpenEXR -Dcimg_use_fftw3 
 LDFLAGS+=-
 L/usr/local/lib -lm -L/usr/local/lib -lX11 -lpthread  -lpng -lz -ljpeg
 -ltiff -
 lz -lIlmImf -lHalf -lfftw3  STRIP_EXE=1 gmic_gmic
 gmake[4]: Entering directory `/usr/ports/graphics/gimp-gmic-
 plugin/work/gmic-1.5.6.1/src'
 g++ -o gmic_bool.o -c gmic.cpp  -Dgmic_build -I/usr/local/include -Wall -W
 -
 Dcimg_use_vt100  -Dcimg_display=1 -Dcimg_appname=\gmic\
 -I/usr/local/include
 -Dcimg_use_png -Dcimg_use_jpeg -Dcimg_use_tiff -Dcimg_use_zlib -
 Dcimg_use_openexr -I/usr/local/include/OpenEXR -Dcimg_use_fftw3  -
 Dgmic_split_compilation -Dgmic_bool
 gmake[4]: g++: Command not found
 gmake[4]: *** [gmic_bool.o] Error 127
 gmake[4]: Leaving directory `/usr/ports/graphics/gimp-gmic-
 plugin/work/gmic-1.5.6.1/src'
 gmake[3]: *** [freebsd] Error 2
 gmake[3]: Leaving directory `/usr/ports/graphics/gimp-gmic-
 plugin/work/gmic-1.5.6.1/src'
 gmake[2]: *** [all] Error 2
 gmake[2]: Leaving directory `/usr/ports/graphics/gimp-gmic-
 plugin/work/gmic-1.5.6.1/src'
 *** Error code 1

 Stop.
 make[1]: stopped in /usr/ports/graphics/gimp-gmic-plugin
 *** Error code 1

 Stop.
 make: stopped in /usr/ports/graphics/gimp-gmic-plugin

 === make failed for graphics/gimp-gmic-plugin
 === Aborting update

 === Killing background jobs
 Terminated

 === You can restart from the point of failure with this command line:
portmaster flags graphics/gimp-gmic-plugin

 === Exiting

 Thanks in advance.

 --
 Mitja
 ---
 http://redbubble.com/people/lumiwa
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: gimp-gmic-plugin

2013-09-20 Thread Ajtim
Thank you but it doesn't help me. I got the same error.

On Friday 20 September 2013 12:50:30 Andreas Nilsson wrote:
 This is not related to current, is simply caused by home-brewn build system.
 
 This should, imho, be reported to gmic developers.
 
 As a workaround you can add
 CC=c++
 in the port Makefile and it should be better off.
 
 Best regards
 Andreas
 
 On Fri, Sep 20, 2013 at 12:13 PM, Ajtim lum...@gmail.com wrote:
  Hi!
  
  I try to build gimp-gmic-plugin on FreeBSD 10.0-ALPHA1 #0 r255501: Fri Sep
  13
  01:57:31 UTC 2013 r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC
  amd64
  and I got:
  
  gmake freebsd
  gmake[3]: Entering directory `/usr/ports/graphics/gimp-gmic-
  plugin/work/gmic-1.5.6.1/src'
  gmake CFLAGS+=-Dgmic_build -I/usr/local/include -Wall -W -Dcimg_use_vt100
  
   -
  
  Dcimg_display=1 -Dcimg_appname=\\\gmic\\\ -I/usr/local/include  -
  Dcimg_use_png -Dcimg_use_jpeg -Dcimg_use_tiff -Dcimg_use_zlib -
  Dcimg_use_openexr -I/usr/local/include/OpenEXR -Dcimg_use_fftw3 
  LDFLAGS+=-
  L/usr/local/lib -lm -L/usr/local/lib -lX11 -lpthread  -lpng -lz -ljpeg
  -ltiff -
  lz -lIlmImf -lHalf -lfftw3  STRIP_EXE=1 gmic_gmic
  gmake[4]: Entering directory `/usr/ports/graphics/gimp-gmic-
  plugin/work/gmic-1.5.6.1/src'
  g++ -o gmic_bool.o -c gmic.cpp  -Dgmic_build -I/usr/local/include -Wall -W
  -
  Dcimg_use_vt100  -Dcimg_display=1 -Dcimg_appname=\gmic\
  -I/usr/local/include
  -Dcimg_use_png -Dcimg_use_jpeg -Dcimg_use_tiff -Dcimg_use_zlib -
  Dcimg_use_openexr -I/usr/local/include/OpenEXR -Dcimg_use_fftw3  -
  Dgmic_split_compilation -Dgmic_bool
  gmake[4]: g++: Command not found
  gmake[4]: *** [gmic_bool.o] Error 127
  gmake[4]: Leaving directory `/usr/ports/graphics/gimp-gmic-
  plugin/work/gmic-1.5.6.1/src'
  gmake[3]: *** [freebsd] Error 2
  gmake[3]: Leaving directory `/usr/ports/graphics/gimp-gmic-
  plugin/work/gmic-1.5.6.1/src'
  gmake[2]: *** [all] Error 2
  gmake[2]: Leaving directory `/usr/ports/graphics/gimp-gmic-
  plugin/work/gmic-1.5.6.1/src'
  *** Error code 1
  
  Stop.
  make[1]: stopped in /usr/ports/graphics/gimp-gmic-plugin
  *** Error code 1
  
  Stop.
  make: stopped in /usr/ports/graphics/gimp-gmic-plugin
  
  === make failed for graphics/gimp-gmic-plugin
  === Aborting update
  
  === Killing background jobs
  Terminated
  
  === You can restart from the point of failure with this command line:
 portmaster flags graphics/gimp-gmic-plugin
  
  === Exiting
  
  Thanks in advance.
  
  --
  Mitja
  ---
  http://redbubble.com/people/lumiwa
  ___
  freebsd-current@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-current
  To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

-- 
Mitja
---
http://redbubble.com/people/lumiwa
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: gimp-gmic-plugin

2013-09-20 Thread Andreas Nilsson
Ah,

it was even worse than the first quick look. Try adding

do-compile:
gmake CC=${CXX}

in the ports Makefile instead of

CC=c++ ( which I guess should have been CC=${CXX} anyway )

Best regards
Andreas
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: gimp-gmic-plugin

2013-09-20 Thread Ruslan Makhmatkhanov

Ajtim wrote on 20.09.2013 14:13:

Hi!

I try to build gimp-gmic-plugin on FreeBSD 10.0-ALPHA1 #0 r255501: Fri Sep 13


I just committed an update to 1.5.7.1 along with the fix for building 
with clang. Please update your ports tree and try again.


--
Regards,
Ruslan

T.O.S. Of Reality
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: gimp-gmic-plugin

2013-09-20 Thread Ajtim
I did svn update and after that I got:

'locale'?
std::setlocale(LC_NUMERIC,C);
~^
In file included from gmic.cpp:1215:
./gmic.h:301:10: error: no member named 'setlocale' in namespace 'std'; did 
you mean 'locale'?
std::setlocale(LC_NUMERIC,C);
~^
gmic.cpp:2264:8: error: no member named 'setlocale' in namespace 'std'; did 
you mean 'locale'?
  std::setlocale(LC_NUMERIC,C);
  ~^
gmic.cpp:2264:8: error: no member named 'setlocale' in namespace 'std'; did 
you mean 'locale'?
  std::setlocale(LC_NUMERIC,C);
  ~^
gmic.cpp:2264:8: error: no member named 'setlocale' in namespace 'std'; did 
you mean 'locale'?
  std::setlocale(LC_NUMERIC,C);
  ~^
gmic.cpp:2264:8: error: no member named 'setlocale' in namespace 'std'; did 
you mean 'locale'?
  std::setlocale(LC_NUMERIC,C);
  ~^
In file included from gmic.cpp:1215:
./gmic.h:301:10: error: no member named 'setlocale' in namespace 'std'; did 
you mean 'locale'?
std::setlocale(LC_NUMERIC,C);
~^
In file included from gmic.cpp:1215:
./gmic.h:301:10: error: no member named 'setlocale' in namespace 'std'; did 
you mean 'locale'?
std::setlocale(LC_NUMERIC,C);
~^
gmic.cpp:2264:8: error: no member named 'setlocale' in namespace 'std'; did 
you mean 'locale'?
  std::setlocale(LC_NUMERIC,C);
  ~^
gmic.cpp:2264:8: error: no member named 'setlocale' in namespace 'std'; did 
you mean 'locale'?
  std::setlocale(LC_NUMERIC,C);
  ~^
gmic.cpp:2264:8: error: no member named 'setlocale' in namespace 'std'; did 
you mean 'locale'?
  std::setlocale(LC_NUMERIC,C);
  ~^
1 warning and 2 errors generated.
1 warning and 2 errors generated.
gmake[4]: *** [gmic_uchar.o] Error 1
gmake[4]: *** Waiting for unfinished jobs
1 warning and 2 errors generated.
gmake[4]: *** [gmic_bool.o] Error 1
1 warning and 2 errors generated.
gmake[4]: *** [gmic_char.o] Error 1
gmake[4]: *** [gmic_uint.o] Error 1
1 warning and 2 errors generated.
1 warning and 2 errors generated.
gmake[4]: *** [gmic_int.o] Error 1
gmake[4]: *** [gmic_ushort.o] Error 1
1 warning and 2 errors generated.
gmake[4]: *** [gmic_short.o] Error 1
gmic.cpp:2264:8: error: no member named 'setlocale' in namespace 'std'; did 
you mean 'locale'?
  std::setlocale(LC_NUMERIC,C);
  ~^
1 warning and 2 errors generated.
gmake[4]: *** [gmic_float.o] Error 1
gmake[4]: Leaving directory `/usr/ports/graphics/gimp-gmic-
plugin/work/gmic-1.5.7.1/src'
gmake[3]: *** [freebsd] Error 2
gmake[3]: Leaving directory `/usr/ports/graphics/gimp-gmic-
plugin/work/gmic-1.5.7.1/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/graphics/gimp-gmic-
plugin/work/gmic-1.5.7.1/src'
=== Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/gimp-gmic-plugin
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/gimp-gmic-plugin

=== make failed for graphics/gimp-gmic-plugin
=== Aborting update

=== Killing background jobs
Terminated

=== You can restart from the point of failure with this command line:
   portmaster flags graphics/gimp-gmic-plugin 

=== Exiting


On Friday 20 September 2013 17:36:18 Ruslan Makhmatkhanov wrote:
 Ajtim wrote on 20.09.2013 14:13:
  Hi!
  
  I try to build gimp-gmic-plugin on FreeBSD 10.0-ALPHA1 #0 r255501: Fri Sep
  13
 I just committed an update to 1.5.7.1 along with the fix for building
 with clang. Please update your ports tree and try again.

-- 
Mitja
---
http://redbubble.com/people/lumiwa
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: gimp-gmic-plugin

2013-09-20 Thread Ruslan Makhmatkhanov

Ajtim wrote on 20.09.2013 18:17:

I did svn update and after that I got:

'locale'?
 std::setlocale(LC_NUMERIC,C);
 ~^
In file included from gmic.cpp:1215:
./gmic.h:301:10: error: no member named 'setlocale' in namespace 'std'; did
you mean 'locale'?
 std::setlocale(LC_NUMERIC,C);
 ~^


It working to me with less fresh clang (FreeBSD clang version 3.3 
(tags/RELEASE_33/final 183502) 20130610), but I able to reproduce it 
with more fleshier system.


This particular error can be fixed with including clocale header instead 
of locale, but later it will bomb with 'undeclared identifier 
'pthread_join'' etc. I need to consult upstream about clang support.


--
Regards,
Ruslan

T.O.S. Of Reality
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org