<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 18, 2017 at 12:12 PM, Dirk Willems <span dir="ltr"><<a href="mailto:dirk.willems@exitas.be" target="_blank">dirk.willems@exitas.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p><br>
</p>
<p>In the file
/opt/local/gcc7/lib/gcc/x86_<wbr>64-sun-solaris2.11/7.1.0/<wbr>include-fixed/limits.h
stands</p>
<p><br>
</p>
<p>#ifdef _GCC_NEXT_LIMITS_H</p>
<p>#include_next <limits></p>
<p><font color="#ff0000"><font color="#000000">#endif</font><br>
</font></p>
<p><font color="#ff0000"><br>
</font></p>
<p>Can I uncomment the include_next <limits> or bad idea ?</p></div></blockquote><div><br></div><div>A *much* better idea woul be to remove (or move out of the way) the entire include-fixed directory.<br><br></div><div>You're using pkgsrc here. There may be a good reason, but why not the system compiler?<br></div><div><br></div><div>But, you do have the system/header package installed? <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><p>Thanks</p>
<p><br>
</p>
<p>KR,</p>
<p><br>
</p>
<p>Dirk<br>
</p><div><div class="h5">
<p><br>
</p>
<br>
<div class="m_4083889978680328536moz-cite-prefix">On 18-08-17 12:54, Dirk Willems wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<p>Hello,</p>
<p><br>
</p>
<p>I try to install GNUHEALTH on OmniOSCE</p>
<p><br>
</p>
<p>but when I run the install script I got a error on gcc</p>
<p><br>
</p>
<p>Any suggestions what I'm doing wrong ?</p>
<p><br>
</p>
<p>I install the package py36-psycopg2-2.7.1<br>
</p>
<p><br>
</p>
<p>building 'psycopg2._psycopg' extension<br>
creating build/temp.solaris-2.11-i86pc.<wbr>64bit-3.6<br>
creating build/temp.solaris-2.11-i86pc.<wbr>64bit-3.6/psycopg<br>
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/<wbr>postgresql/server -c
psycopg/psycopgmodule.c -o
build/temp.solaris-2.11-i86pc.<wbr>64bit-3.6/psycopg/<wbr>psycopgmodule.o<br>
In file included from
/opt/local/gcc7/lib/gcc/x86_<wbr>64-sun-solaris2.11/7.1.0/<wbr>include-fixed/syslimits.h:7:0,<br>
from
/opt/local/gcc7/lib/gcc/x86_<wbr>64-sun-solaris2.11/7.1.0/<wbr>include-fixed/limits.h:34,<br>
from
/opt/local/include/python3.6/<wbr>Python.h:11,<br>
from ./psycopg/psycopg.h:34,<br>
from psycopg/psycopgmodule.c:27:<br>
<font color="#ff0000">/opt/local/gcc7/lib/gcc/x86_<wbr>64-sun-solaris2.11/7.1.0/<wbr>include-fixed/limits.h:194:15:
fatal error: limits.h: No such file or directory</font><br>
#include_next <limits.h> /* recurse down to the real
one */<br>
^~~~~~~~~~<br>
compilation terminated.<br>
error: command 'gcc' failed with exit status 1<br>
<br>
------------------------------<wbr>----------<br>
<font color="#ff0000">Command "/opt/local/bin/python3.6 -u -c
"import setuptools,
tokenize;__file__='/tmp/pip-<wbr>build-68er_27q/psycopg2/setup.<wbr>py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().<wbr>replace('\r\n',
'\n');f.close();exec(compile(<wbr>code, __file__, 'exec'))" install
--record /tmp/pip-_oz9xywx-record/<wbr>install-record.txt
--single-version-externally-<wbr>managed --compile --user
--prefix=" failed with error code 1 in
/tmp/pip-build-68er_27q/<wbr>psycopg2/</font><br>
2017-08-18 10:37:17 [INFO] Bailing out !<br>
2017-08-18 10:37:17 [INFO] Cleaning up temp directories at
/tmp/gnuhealth_installer<br>
2017-08-18 10:37:17 [INFO] removing base dir at
/export/home/gnuhealth//<wbr>gnuhealth<br>
<a class="m_4083889978680328536moz-txt-link-abbreviated" href="mailto:gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$" target="_blank">gnuhealth@GNUHealth:/export/<wbr>home/gnuhealth/gnuhealth-3.2.<wbr>1$</a>
vi gnuhealth-setup <br>
<br>
<font color="#ff0000"><a class="m_4083889978680328536moz-txt-link-abbreviated" href="mailto:gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$" target="_blank">gnuhealth@GNUHealth:/export/<wbr>home/gnuhealth/gnuhealth-3.2.<wbr>1$</a>
echo $PATH<br>
/opt/local/gcc7/bin:/opt/<wbr>local/gcc7/lib:/opt/local/<wbr>sbin:/opt/local/bin:/usr/bin:</font><br>
<br>
<a class="m_4083889978680328536moz-txt-link-abbreviated" href="mailto:gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$" target="_blank">gnuhealth@GNUHealth:/export/<wbr>home/gnuhealth/gnuhealth-3.2.<wbr>1$</a>
vi
/opt/local/gcc7/lib/gcc/x86_<wbr>64-sun-solaris2.11/7.1.0/<wbr>include-fixed/limits.h
<br>
<a class="m_4083889978680328536moz-txt-link-abbreviated" href="mailto:gnuhealth@GNUHealth:/export/home/gnuhealth/gnuhealth-3.2.1$" target="_blank">gnuhealth@GNUHealth:/export/<wbr>home/gnuhealth/gnuhealth-3.2.<wbr>1$</a>
vi
/opt/local/gcc7/lib/gcc/x86_<wbr>64-sun-solaris2.11/7.1.0/<wbr>include-fixed/syslimits.h
<br>
<br>
</p>
<p>Thanks in advance <br>
</p>
<p><br>
</p>
<p>Kind Regards,</p>
<p><br>
</p>
<p>Dirk<br>
</p>
<p><br>
</p>
<div class="m_4083889978680328536moz-signature">-- <br>
<table style="width:400px;border-collapse:collapse" cellpadding="0" cellspacing="0" width="400">
<tbody>
<tr>
<td width="150"> <img src="http://signatures.sidekick.be/exitas/images/placeholder-exitas.jpg" style="border:none;border-collapse:collapse;width:130px;height:130px" height="130" border="0" width="130"></td>
<td style="width:230px;font-family:Arial;font-size:12px;line-height:15px;border-collapse:collapse;font-weight:300;color:#215973;vertical-align:top" width="250"> <span style="font-weight:700;font-size:15px">Dirk Willems</span><br>
<span style="font-weight:500;font-size:12px;color:e20521;line-height:21px"> System Engineer </span><br>
<br>
<br>
<a href="tel:+32%203%20443%2012%2038" value="+3234431238" target="_blank">+32 (0)3 443 12 38</a><br>
<a href="mailto:Dirk.Willems@exitas.be" style="color:#215973" target="_blank">Dirk.Willems@exitas.be</a><br>
<br>
Quality. Passion. Personality </td>
</tr>
<tr>
<td> <br>
</td>
</tr>
<tr>
<td colspan="2" style="font-family:Arial;font-size:12px;line-height:15px;border-collapse:collapse;font-weight:300;color:#215973;padding-top:5px"><a href="http://www.exitas.be/" style="color:#215973" target="_blank">www.exitas.be</a> | Veldkant 31
| 2550 Kontich</td>
</tr>
<tr>
<td> <br>
</td>
</tr>
<tr>
<td style="font-family:Arial;font-size:12px;line-height:15px;border-collapse:collapse;font-weight:500;color:#215973;padding-top:5px">
Illumos OmniOS Installation and Configuration
Implementation Specialist. <br>
Oracle Solaris 11 Installation and Configuration
Certified Implementation Specialist. </td>
<td width="400"><img src="cid:part8.BEC875B0.0ABEB8BE@exitas.be" style="border:none;border-collapse:collapse;width:236px;height:126px" height="126" border="0" width="236"></td>
</tr>
</tbody>
</table>
</div>
<br>
<fieldset class="m_4083889978680328536mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
OmniOS-discuss mailing list
<a class="m_4083889978680328536moz-txt-link-abbreviated" href="mailto:OmniOS-discuss@lists.omniti.com" target="_blank">OmniOS-discuss@lists.omniti.<wbr>com</a>
<a class="m_4083889978680328536moz-txt-link-freetext" href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/<wbr>mailman/listinfo/omnios-<wbr>discuss</a>
</pre>
</blockquote><span class="">
<br>
<div class="m_4083889978680328536moz-signature">-- <br>
<table style="width:400px;border-collapse:collapse" cellpadding="0" cellspacing="0" width="400">
<tbody>
<tr>
<td width="150"> <img src="http://signatures.sidekick.be/exitas/images/placeholder-exitas.jpg" style="border:none;border-collapse:collapse;width:130px;height:130px" height="130" border="0" width="130"></td>
<td style="width:230px;font-family:Arial;font-size:12px;line-height:15px;border-collapse:collapse;font-weight:300;color:#215973;vertical-align:top" width="250"> <span style="font-weight:700;font-size:15px">Dirk Willems</span><br>
<span style="font-weight:500;font-size:12px;color:e20521;line-height:21px"> System Engineer </span><br>
<br>
<br>
<a href="tel:+32%203%20443%2012%2038" value="+3234431238" target="_blank">+32 (0)3 443 12 38</a><br>
<a href="mailto:Dirk.Willems@exitas.be" style="color:#215973" target="_blank">Dirk.Willems@exitas.be</a><br>
<br>
Quality. Passion. Personality </td>
</tr>
<tr>
<td> <br>
</td>
</tr>
<tr>
<td colspan="2" style="font-family:Arial;font-size:12px;line-height:15px;border-collapse:collapse;font-weight:300;color:#215973;padding-top:5px"><a href="http://www.exitas.be/" style="color:#215973" target="_blank">www.exitas.be</a>
| Veldkant 31 | 2550 Kontich</td>
</tr>
<tr>
<td> <br>
</td>
</tr>
<tr>
<td style="font-family:Arial;font-size:12px;line-height:15px;border-collapse:collapse;font-weight:500;color:#215973;padding-top:5px">
Illumos OmniOS Installation and Configuration
Implementation Specialist.
<br>
Oracle Solaris 11 Installation and Configuration Certified
Implementation Specialist.
</td>
<td width="400"><img src="cid:part8.BEC875B0.0ABEB8BE@exitas.be" style="border:none;border-collapse:collapse;width:236px;height:126px" height="126" border="0" width="236"></td>
</tr>
</tbody>
</table>
</div>
</span></div>
<br>______________________________<wbr>_________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.<wbr>com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" rel="noreferrer" target="_blank">http://lists.omniti.com/<wbr>mailman/listinfo/omnios-<wbr>discuss</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">-Peter Tribble<br><a href="http://www.petertribble.co.uk/" target="_blank">http://www.petertribble.co.uk/</a> - <a href="http://ptribble.blogspot.com/" target="_blank">http://ptribble.blogspot.com/</a></div>
</div></div>