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 <dirk.will...@exitas.be
<mailto:dirk.will...@exitas.be>> 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 <limits>
#endif
Can I uncomment the include_next <limits> or 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 <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@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$
<mailto:gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$>
vi gnuhealth-setup
gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$
<mailto: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$
<mailto: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$
<mailto: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 <tel:+32%203%20443%2012%2038>
dirk.will...@exitas.be <mailto:dirk.will...@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@lists.omniti.com
<mailto:OmniOS-discuss@lists.omniti.com>
http://lists.omniti.com/mailman/listinfo/omnios-discuss
<http://lists.omniti.com/mailman/listinfo/omnios-discuss>
--
Dirk Willems
System Engineer
+32 (0)3 443 12 38 <tel:+32%203%20443%2012%2038>
dirk.will...@exitas.be <mailto:dirk.will...@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@lists.omniti.com
<mailto:OmniOS-discuss@lists.omniti.com>
http://lists.omniti.com/mailman/listinfo/omnios-discuss
<http://lists.omniti.com/mailman/listinfo/omnios-discuss>
--
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
--
Dirk Willems
System Engineer
+32 (0)3 443 12 38
dirk.will...@exitas.be <mailto:dirk.will...@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@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss