[OmniOS-discuss] Chelsio 100GbE nics driver help

2017-08-18 Thread Ergi Thanasko
Is anyone working with the Chelsio 100GbE nics, need some help with the drivers 
and RDMA Offloading


___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] install GNUHEALTH

2017-08-18 Thread Dirk Willems

Peter,


I started over from scratch and followed 
http://wiki.omniosce.org/DevEnv.html


so now I have the |system/header||:)|

|
|

|And also remember again why I use the pkgsrc source because of the 
packages like python postgress gpg etc ...|


|which I cannot find in the pkg repo.|

|
|

|So pkg gcc is installed
|

gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/gcc-5.1.0/libexec/gcc/i386-pc-solaris2.11/5.1.0/lto-wrapper
Target: i386-pc-solaris2.11
Configured with: ./configure --prefix=/opt/gcc-5.1.0 --host 
i386-pc-solaris2.11 --build i386-pc-solaris2.11 --target 
i386-pc-solaris2.11 --with-boot-ldflags=-R/opt/gcc-5.1.0/lib 
--with-gmp=/opt/gcc-5.1.0 --with-mpfr=/opt/gcc-5.1.0 
--with-mpc=/opt/gcc-5.1.0 --enable-languages=c,c++,fortran,lto 
--without-gnu-ld --with-ld=/bin/ld --with-as=/usr/bin/gas --with-gnu-as 
--with-build-time-tools=/usr/gnu/i386-pc-solaris2.11/bin

Thread model: posix
gcc version 5.1.0 (GCC)


Tried to install it again with pkg gcc 5.1 hopefully ...


building 'psycopg2._psycopg' extension
creating build/temp.solaris-2.11-i86pc.64bit-3.6
creating build/temp.solaris-2.11-i86pc.64bit-3.6/psycopg
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -O2 -pipe -O2 
-I/usr/include -I/opt/local/include -I/opt/local/include/ncurses 
-I/opt/local/include/db4 -pipe -O2 -pipe -O2 -I/usr/include 
-I/opt/local/include -I/opt/local/include/ncurses 
-I/opt/local/include/db4 -pipe -O2 -pipe -O2 -I/usr/include 
-I/opt/local/include -I/opt/local/include/ncurses 
-I/opt/local/include/db4 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.7.3 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=90412 
-DHAVE_LO64=1 -I/opt/local/include/python3.6 -I. -I/opt/local/include 
-I/opt/local/include/postgresql/server -c psycopg/psycopgmodule.c -o 
build/temp.solaris-2.11-i86pc.64bit-3.6/psycopg/psycopgmodule.o

In file included from /opt/local/include/python3.6/Python.h:50:0,
 from ./psycopg/psycopg.h:34,
 from psycopg/psycopgmodule.c:27:
/opt/local/include/python3.6/pyport.h:686:2: error: #error "LONG_BIT 
definition appears wrong for platform (bad gcc/glibc config?)."
 #error "LONG_BIT definition appears wrong for platform (bad 
gcc/glibc config?)."

  ^
In file included from ./psycopg/psycopg.h:37:0,
 from psycopg/psycopgmodule.c:27:
./psycopg/config.h:174:0: warning: "isinf" redefined
 #define isinf(x) (!finite((x)) && (x)==(x))
 ^
In file included from /usr/include/math.h:33:0,
 from /opt/local/include/python3.6/pyport.h:194,
 from /opt/local/include/python3.6/Python.h:50,
 from ./psycopg/psycopg.h:34,
 from psycopg/psycopgmodule.c:27:
/usr/include/iso/math_c99.h:67:0: note: this is the location of the 
previous definition

 #define isinf(x) __builtin_isinf(x)
 ^
error: command 'gcc' failed with exit status 1


Command "/opt/local/bin/python3.6 -u -c "import setuptools, 
tokenize;__file__='/tmp/pip-build-gd_pv6gq/psycopg2/setup.py';f=getattr(tokenize, 
'open', open)(__file__);code=f.read().replace('\r\n', 
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record 
/tmp/pip-cdr8idal-record/install-record.txt 
--single-version-externally-managed --compile --user --prefix=" failed 
with error code 1 in /tmp/pip-build-gd_pv6gq/psycopg2/

2017-08-18 14:24:57 [INFO] Bailing out !
2017-08-18 14:24:57 [INFO] Cleaning up temp directories at 
/tmp/gnuhealth_installer
2017-08-18 14:24:57 [INFO] removing base dir at 
/export/home/gnuhealth//gnuhealth



Getting a different error now it's python who is complaining to bad :(


So I was thinking for trying /"//A *much* better idea woul be to remove 
(or move out of the way) the entire include-fixed directory."/




So I installed the pkgsrc gcc49

changing the PATH

gnuhealth@GNUHealth:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/local/gcc49/libexec/gcc/x86_64-sun-solaris2.11/4.9.4/lto-wrapper
Target: x86_64-sun-solaris2.11
Configured with: ../gcc-4.9.4/configure --disable-libstdcxx-pch 
--enable-libssp --enable-languages='c obj-c++ objc go fortran c++' 
--enable-shared --enable-long-long --with-local-prefix=/opt/local 
--enable-threads=posix --with-boot-ldflags='-static-libstdc++ 
-static-libgcc -Wl,-R/opt/local/lib ' --disable-nls 
--with-gxx-include-dir=/opt/local/gcc49/include/c++/ --without-gnu-ld 
--with-ld=/usr/bin/ld --with-gnu-as --with-as=/opt/local/bin/gas 
--prefix=/opt/local/gcc49 --build=x86_64-sun-solaris2.11 
--host=x86_64-sun-solaris2.11 --infodir=/opt/local/gcc49/info 
--mandir=/opt/local/gcc49/man

Thread model: posix
gcc version 4.9.4 (GCC)

But before modify something I thought just run it with gcc49 and see 
what comes


So reinstall the script and now it is working great I love this :)


Re: [OmniOS-discuss] install GNUHEALTH

2017-08-18 Thread Dirk Willems

Hello Peter,


How are you, I still have to fix your connection to our T5 I'm still 
working on it but time is an issue you know right ;)



So answer your questions:

- Yes I do use pkgsrc from joyent I love that repo is really great

- Why not the system compiler because I'm not ready for it I'm still 
learning and yes you're right I have to start with it


- I don't think so if the system/header is installed how can I check it ?


Sorry Guy's I'm just try to learn all this great stuff and very much 
thanks for all your time and feedback



Kind Regards,


Dirk


On 18-08-17 13:18, Peter Tribble wrote:



On Fri, Aug 18, 2017 at 12:12 PM, Dirk Willems > wrote:


Hello,


In the file
/opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/limits.h
stands


#ifdef _GCC_NEXT_LIMITS_H

#include_next 

#endif


Can I uncomment the include_nextor bad idea ?


A *much* better idea woul be to remove (or move out of the way) the 
entire include-fixed directory.


You're using pkgsrc here. There may be a good reason, but why not the 
system compiler?


But, you do have the system/header package installed?

Thanks


KR,


Dirk



On 18-08-17 12:54, Dirk Willems wrote:


Hello,


I try to install GNUHEALTH on OmniOSCE


but when I run the install script I got a error on gcc


Any suggestions what I'm doing wrong ?


I install the package py36-psycopg2-2.7.1


building 'psycopg2._psycopg' extension
creating build/temp.solaris-2.11-i86pc.64bit-3.6
creating build/temp.solaris-2.11-i86pc.64bit-3.6/psycopg
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -O2
-pipe -O2 -I/usr/include -I/opt/local/include
-I/opt/local/include/ncurses -I/opt/local/include/db4 -pipe -O2
-pipe -O2 -I/usr/include -I/opt/local/include
-I/opt/local/include/ncurses -I/opt/local/include/db4 -pipe -O2
-pipe -O2 -I/usr/include -I/opt/local/include
-I/opt/local/include/ncurses -I/opt/local/include/db4 -fPIC
-DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.7.3 (dt dec
pq3 ext lo64)" -DPG_VERSION_NUM=90412 -DHAVE_LO64=1
-I/opt/local/include/python3.6 -I. -I/opt/local/include
-I/opt/local/include/postgresql/server -c psycopg/psycopgmodule.c
-o build/temp.solaris-2.11-i86pc.64bit-3.6/psycopg/psycopgmodule.o
In file included from

/opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/syslimits.h:7:0,
 from

/opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/limits.h:34,
 from /opt/local/include/python3.6/Python.h:11,
 from ./psycopg/psycopg.h:34,
 from psycopg/psycopgmodule.c:27:

/opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/limits.h:194:15:
fatal error: limits.h: No such file or directory
 #include_next   /* recurse down to the real one */
   ^~
compilation terminated.
error: command 'gcc' failed with exit status 1


Command "/opt/local/bin/python3.6 -u -c "import setuptools,

tokenize;__file__='/tmp/pip-build-68er_27q/psycopg2/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install
--record /tmp/pip-_oz9xywx-record/install-record.txt
--single-version-externally-managed --compile --user --prefix="
failed with error code 1 in /tmp/pip-build-68er_27q/psycopg2/
2017-08-18 10:37:17 [INFO] Bailing out !
2017-08-18 10:37:17 [INFO] Cleaning up temp directories at
/tmp/gnuhealth_installer
2017-08-18 10:37:17 [INFO] removing base dir at
/export/home/gnuhealth//gnuhealth
gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$

vi gnuhealth-setup

gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$

echo $PATH

/opt/local/gcc7/bin:/opt/local/gcc7/lib:/opt/local/sbin:/opt/local/bin:/usr/bin:

gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$

vi
/opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/limits.h

gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$

vi

/opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/syslimits.h


Thanks in advance


Kind Regards,


Dirk


-- 
	Dirk Willems

System Engineer


+32 (0)3 443 12 38 
dirk.will...@exitas.be 

Quality. Passion. 

Re: [OmniOS-discuss] install GNUHEALTH

2017-08-18 Thread Peter Tribble
On Fri, Aug 18, 2017 at 12:12 PM, Dirk Willems 
wrote:

> Hello,
>
>
> In the file 
> /opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/limits.h
> stands
>
>
> #ifdef _GCC_NEXT_LIMITS_H
>
> #include_next 
>
> #endif
>
>
> Can I uncomment the include_nextor bad idea ?
>

A *much* better idea woul be to remove (or move out of the way) the entire
include-fixed directory.

You're using pkgsrc here. There may be a good reason, but why not the
system compiler?

But, you do have the system/header package installed?

> Thanks
>
>
> KR,
>
>
> Dirk
>
>
>
> On 18-08-17 12:54, Dirk Willems wrote:
>
> Hello,
>
>
> I try to install GNUHEALTH on OmniOSCE
>
>
> but when I run the install script I got a error on gcc
>
>
> Any suggestions what I'm doing wrong ?
>
>
> I install the package py36-psycopg2-2.7.1
>
>
> building 'psycopg2._psycopg' extension
> creating build/temp.solaris-2.11-i86pc.64bit-3.6
> creating build/temp.solaris-2.11-i86pc.64bit-3.6/psycopg
> gcc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -O2 -pipe -O2
> -I/usr/include -I/opt/local/include -I/opt/local/include/ncurses
> -I/opt/local/include/db4 -pipe -O2 -pipe -O2 -I/usr/include
> -I/opt/local/include -I/opt/local/include/ncurses -I/opt/local/include/db4
> -pipe -O2 -pipe -O2 -I/usr/include -I/opt/local/include
> -I/opt/local/include/ncurses -I/opt/local/include/db4 -fPIC
> -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.7.3 (dt dec pq3 ext
> lo64)" -DPG_VERSION_NUM=90412 -DHAVE_LO64=1 -I/opt/local/include/python3.6
> -I. -I/opt/local/include -I/opt/local/include/postgresql/server -c
> psycopg/psycopgmodule.c -o build/temp.solaris-2.11-i86pc.
> 64bit-3.6/psycopg/psycopgmodule.o
> In file included from /opt/local/gcc7/lib/gcc/x86_
> 64-sun-solaris2.11/7.1.0/include-fixed/syslimits.h:7:0,
>  from /opt/local/gcc7/lib/gcc/x86_
> 64-sun-solaris2.11/7.1.0/include-fixed/limits.h:34,
>  from /opt/local/include/python3.6/Python.h:11,
>  from ./psycopg/psycopg.h:34,
>  from psycopg/psycopgmodule.c:27:
> 
> /opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/limits.h:194:15:
> fatal error: limits.h: No such file or directory
>  #include_next   /* recurse down to the real one */
>^~
> compilation terminated.
> error: command 'gcc' failed with exit status 1
>
> 
> Command "/opt/local/bin/python3.6 -u -c "import setuptools,
> tokenize;__file__='/tmp/pip-build-68er_27q/psycopg2/setup.py';f=getattr(tokenize,
> 'open', open)(__file__);code=f.read().replace('\r\n',
> '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
> /tmp/pip-_oz9xywx-record/install-record.txt 
> --single-version-externally-managed
> --compile --user --prefix=" failed with error code 1 in
> /tmp/pip-build-68er_27q/psycopg2/
> 2017-08-18 10:37:17 [INFO] Bailing out !
> 2017-08-18 10:37:17 [INFO] Cleaning up temp directories at
> /tmp/gnuhealth_installer
> 2017-08-18 10:37:17 [INFO] removing base dir at /export/home/gnuhealth//
> gnuhealth
> gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$ vi
> gnuhealth-setup
>
> gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$ echo $PATH
> /opt/local/gcc7/bin:/opt/local/gcc7/lib:/opt/local/
> sbin:/opt/local/bin:/usr/bin:
>
> gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$ vi
> /opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/limits.h
>
> gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$ vi
> /opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/syslimits.h
>
>
> Thanks in advance
>
>
> Kind Regards,
>
>
> Dirk
>
>
> --
> Dirk Willems
> System Engineer
>
>
> +32 (0)3 443 12 38 <+32%203%20443%2012%2038>
> dirk.will...@exitas.be
>
> Quality. Passion. Personality
>
> www.exitas.be | Veldkant 31 | 2550 Kontich
>
> Illumos OmniOS Installation and Configuration Implementation Specialist.
> Oracle Solaris 11 Installation and Configuration Certified Implementation
> Specialist.
>
>
> ___
> OmniOS-discuss mailing 
> listOmniOS-discuss@lists.omniti.comhttp://lists.omniti.com/mailman/listinfo/omnios-discuss
>
>
> --
> Dirk Willems
> System Engineer
>
>
> +32 (0)3 443 12 38 <+32%203%20443%2012%2038>
> dirk.will...@exitas.be
>
> Quality. Passion. Personality
>
> www.exitas.be | Veldkant 31 | 2550 Kontich
>
> Illumos OmniOS Installation and Configuration Implementation Specialist.
> Oracle Solaris 11 Installation and Configuration Certified Implementation
> Specialist.
>
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
>


-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
___
OmniOS-discuss mailing 

Re: [OmniOS-discuss] install GNUHEALTH

2017-08-18 Thread Dirk Willems

Hello Andy,


Thank you very much for you feedback,


No I didn't, didn't know it yet so thank you gonna try keep you posting 


Kind Regards,


Dirk


On 18-08-17 13:14, Andy Fiddaman wrote:

On Fri, 18 Aug 2017, Dirk Willems wrote:

; Hello,
;
;
; I try to install GNUHEALTH on OmniOSCE
;
;
; fatal error: limits.h: No such file or directory
;  #include_next   /* recurse down to the real one */
;^~
; compilation terminated.
; error: command 'gcc' failed with exit status 1

Have you installed the system/header package?

To make sure you have everything needed for compilation check the wiki
page at http://wiki.omniosce.org/DevEnv.html

Regards,

Andy



--
Dirk Willems
System Engineer


+32 (0)3 443 12 38
dirk.will...@exitas.be 

Quality. Passion. Personality

www.exitas.be  | Veldkant 31 | 2550 Kontich

Illumos OmniOS Installation and Configuration Implementation Specialist.
Oracle Solaris 11 Installation and Configuration Certified 
Implementation Specialist. 	


___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] install GNUHEALTH

2017-08-18 Thread Dirk Willems

Hello,


In the file 
/opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/limits.h 
stands



#ifdef _GCC_NEXT_LIMITS_H

#include_next 

#endif


Can I uncomment the include_nextor bad idea ?


Thanks


KR,


Dirk



On 18-08-17 12:54, Dirk Willems wrote:


Hello,


I try to install GNUHEALTH on OmniOSCE


but when I run the install script I got a error on gcc


Any suggestions what I'm doing wrong ?


I install the package py36-psycopg2-2.7.1


building 'psycopg2._psycopg' extension
creating build/temp.solaris-2.11-i86pc.64bit-3.6
creating build/temp.solaris-2.11-i86pc.64bit-3.6/psycopg
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -O2 -pipe -O2 
-I/usr/include -I/opt/local/include -I/opt/local/include/ncurses 
-I/opt/local/include/db4 -pipe -O2 -pipe -O2 -I/usr/include 
-I/opt/local/include -I/opt/local/include/ncurses 
-I/opt/local/include/db4 -pipe -O2 -pipe -O2 -I/usr/include 
-I/opt/local/include -I/opt/local/include/ncurses 
-I/opt/local/include/db4 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.7.3 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=90412 
-DHAVE_LO64=1 -I/opt/local/include/python3.6 -I. -I/opt/local/include 
-I/opt/local/include/postgresql/server -c psycopg/psycopgmodule.c -o 
build/temp.solaris-2.11-i86pc.64bit-3.6/psycopg/psycopgmodule.o
In file included from 
/opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/syslimits.h:7:0,
 from 
/opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/limits.h:34,

 from /opt/local/include/python3.6/Python.h:11,
 from ./psycopg/psycopg.h:34,
 from psycopg/psycopgmodule.c:27:
/opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/limits.h:194:15: 
fatal error: limits.h: No such file or directory

 #include_next   /* recurse down to the real one */
   ^~
compilation terminated.
error: command 'gcc' failed with exit status 1


Command "/opt/local/bin/python3.6 -u -c "import setuptools, 
tokenize;__file__='/tmp/pip-build-68er_27q/psycopg2/setup.py';f=getattr(tokenize, 
'open', open)(__file__);code=f.read().replace('\r\n', 
'\n');f.close();exec(compile(code, __file__, 'exec'))" install 
--record /tmp/pip-_oz9xywx-record/install-record.txt 
--single-version-externally-managed --compile --user --prefix=" failed 
with error code 1 in /tmp/pip-build-68er_27q/psycopg2/

2017-08-18 10:37:17 [INFO] Bailing out !
2017-08-18 10:37:17 [INFO] Cleaning up temp directories at 
/tmp/gnuhealth_installer
2017-08-18 10:37:17 [INFO] removing base dir at 
/export/home/gnuhealth//gnuhealth
gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$ vi 
gnuhealth-setup


gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$ echo $PATH
/opt/local/gcc7/bin:/opt/local/gcc7/lib:/opt/local/sbin:/opt/local/bin:/usr/bin:

gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$ vi 
/opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/limits.h 

gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$ vi 
/opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/syslimits.h 



Thanks in advance


Kind Regards,


Dirk


--
Dirk Willems
System Engineer


+32 (0)3 443 12 38
dirk.will...@exitas.be 

Quality. Passion. Personality

www.exitas.be  | Veldkant 31 | 2550 Kontich

Illumos OmniOS Installation and Configuration Implementation Specialist.
Oracle Solaris 11 Installation and Configuration Certified 
Implementation Specialist. 	




___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


--
Dirk Willems
System Engineer


+32 (0)3 443 12 38
dirk.will...@exitas.be 

Quality. Passion. Personality

www.exitas.be  | Veldkant 31 | 2550 Kontich

Illumos OmniOS Installation and Configuration Implementation Specialist.
Oracle Solaris 11 Installation and Configuration Certified 
Implementation Specialist. 	


___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] install GNUHEALTH

2017-08-18 Thread Andy Fiddaman

On Fri, 18 Aug 2017, Dirk Willems wrote:

; Hello,
;
;
; I try to install GNUHEALTH on OmniOSCE
;
;
; fatal error: limits.h: No such file or directory
;  #include_next   /* recurse down to the real one */
;^~
; compilation terminated.
; error: command 'gcc' failed with exit status 1

Have you installed the system/header package?

To make sure you have everything needed for compilation check the wiki
page at http://wiki.omniosce.org/DevEnv.html

Regards,

Andy

-- 

For OmniOSce support, please visit the lobby at:
https://gitter.im/omniosorg/Lobby

-- 
Citrus IT Limited | +44 (0)333 0124 007 | enquir...@citrus-it.co.uk
Rock House Farm | Green Moor | Wortley | Sheffield | S35 7DQ
Registered in England and Wales | Company number 4899123

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


[OmniOS-discuss] install GNUHEALTH

2017-08-18 Thread Dirk Willems

Hello,


I try to install GNUHEALTH on OmniOSCE


but when I run the install script I got a error on gcc


Any suggestions what I'm doing wrong ?


I install the package py36-psycopg2-2.7.1


building 'psycopg2._psycopg' extension
creating build/temp.solaris-2.11-i86pc.64bit-3.6
creating build/temp.solaris-2.11-i86pc.64bit-3.6/psycopg
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -O2 -pipe -O2 
-I/usr/include -I/opt/local/include -I/opt/local/include/ncurses 
-I/opt/local/include/db4 -pipe -O2 -pipe -O2 -I/usr/include 
-I/opt/local/include -I/opt/local/include/ncurses 
-I/opt/local/include/db4 -pipe -O2 -pipe -O2 -I/usr/include 
-I/opt/local/include -I/opt/local/include/ncurses 
-I/opt/local/include/db4 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.7.3 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=90412 
-DHAVE_LO64=1 -I/opt/local/include/python3.6 -I. -I/opt/local/include 
-I/opt/local/include/postgresql/server -c psycopg/psycopgmodule.c -o 
build/temp.solaris-2.11-i86pc.64bit-3.6/psycopg/psycopgmodule.o
In file included from 
/opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/syslimits.h:7:0,
 from 
/opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/limits.h:34,

 from /opt/local/include/python3.6/Python.h:11,
 from ./psycopg/psycopg.h:34,
 from psycopg/psycopgmodule.c:27:
/opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/limits.h:194:15: 
fatal error: limits.h: No such file or directory

 #include_next   /* recurse down to the real one */
   ^~
compilation terminated.
error: command 'gcc' failed with exit status 1


Command "/opt/local/bin/python3.6 -u -c "import setuptools, 
tokenize;__file__='/tmp/pip-build-68er_27q/psycopg2/setup.py';f=getattr(tokenize, 
'open', open)(__file__);code=f.read().replace('\r\n', 
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record 
/tmp/pip-_oz9xywx-record/install-record.txt 
--single-version-externally-managed --compile --user --prefix=" failed 
with error code 1 in /tmp/pip-build-68er_27q/psycopg2/

2017-08-18 10:37:17 [INFO] Bailing out !
2017-08-18 10:37:17 [INFO] Cleaning up temp directories at 
/tmp/gnuhealth_installer
2017-08-18 10:37:17 [INFO] removing base dir at 
/export/home/gnuhealth//gnuhealth
gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$ vi 
gnuhealth-setup


gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$ echo $PATH
/opt/local/gcc7/bin:/opt/local/gcc7/lib:/opt/local/sbin:/opt/local/bin:/usr/bin:

gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$ vi 
/opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/limits.h
gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$ vi 
/opt/local/gcc7/lib/gcc/x86_64-sun-solaris2.11/7.1.0/include-fixed/syslimits.h 



Thanks in advance


Kind Regards,


Dirk


--
Dirk Willems
System Engineer


+32 (0)3 443 12 38
dirk.will...@exitas.be 

Quality. Passion. Personality

www.exitas.be  | Veldkant 31 | 2550 Kontich

Illumos OmniOS Installation and Configuration Implementation Specialist.
Oracle Solaris 11 Installation and Configuration Certified 
Implementation Specialist. 	


___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss