[OmniOS-discuss] install GNUHEALTH

Dirk Willems dirk.willems at exitas.be
Fri Aug 18 11:12:16 UTC 2017


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 <limits>

#endif


Can I uncomment the include_next <limits>   or 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 <limits.h>  /* 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 at GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$ vi 
> gnuhealth-setup
>
> gnuhealth at 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 at 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 at 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.Willems at exitas.be <mailto:Dirk.Willems at exitas.be>
>
> Quality. Passion. Personality
>
> www.exitas.be <http://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 at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss

-- 
	Dirk Willems
System Engineer


+32 (0)3 443 12 38
Dirk.Willems at exitas.be <mailto:Dirk.Willems at exitas.be>

Quality. Passion. Personality

www.exitas.be <http://www.exitas.be/> | Veldkant 31 | 2550 Kontich

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20170818/969ab402/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SmallPhoenixLogotypeRGB.png
Type: image/png
Size: 4648 bytes
Desc: not available
URL: <https://omniosce.org/ml-archive/attachments/20170818/969ab402/attachment-0001.png>


More information about the OmniOS-discuss mailing list