<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Oops, disregard the <font face="DejaVu Sans">$wk, $stl and $st
variable calls. Sorry, but I'm half awake, half sleep. Actually
"st" is for enabling shared library, which is needed. See
below...</font><br>
<br>
<div class="moz-cite-prefix">On 12/30/19 4:24 PM, <a class="moz-txt-link-abbreviated" href="mailto:alex@xbasics.com">alex@xbasics.com</a>
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:a6c027605ce14b4e4295273b70fbdb57@smtp.hushmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<font face="DejaVu Sans">Yeah, looks like it cannot find the wx
shared libraries. Verify the location of the wx files. You
might need to configure /etc/ld.so.conf to identify where they
are located. For reference, I personally compile wxWidgets from
scratch with GTK3 and Mesa already installed with...<br>
<br>
export CFLAGS="-O3 -fPIC -march=native -pipe"<br>
export CXXFLAGS="$CFLAGS"<br>
<br>
CFLAGS CXXFLAGS ./configure \<br>
--prefix=/usr \<br>
--libdir=/usr/lib64 \<br>
--sysconfdir=/etc \<br>
--enable-mediactrl \<br>
--with-opengl \<br>
--enable-graphics_ctx \<br>
--with-gtk=3 \<br>
--enable-unicode \<br>
--enable-compat28 \<br>
--enable-plugins \<br>
--enable-stc \<br>
--enable-webview \<br>
</font></blockquote>
<font color="#181ea2"> --enable-shared</font><br>
<blockquote type="cite"
cite="mid:a6c027605ce14b4e4295273b70fbdb57@smtp.hushmail.com"><font
face="DejaVu Sans"> <br>
BTW, the configuration I use to compile Erlang is...<br>
<br>
</font><font face="DejaVu Sans"><font face="DejaVu Sans">CFLAGS </font>./configure
\<br>
--prefix=/usr \<br>
--libdir=/usr/lib64 \<br>
--without-odbc \<br>
--without-megaco \<br>
--enable-threads \<br>
--enable-dirty-schedulers \<br>
--enable-smp-support \<br>
--enable-hipe<br>
<br>
...follow by make and make install. These are part of bigger
scripts I use to make packages for my Linux distro, but this is
practically it.<br>
<br>
Cheers,<br>
Alex</font><br>
<br>
<div class="moz-cite-prefix">On 12/30/19 11:48 AM, Mikael
Pettersson wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAM43=SN2qa867FvXB9MEA7-QCrKBC=97ozQoeT1op+vdJnBD9A@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">On Mon, Dec 30, 2019 at 4:48 PM Rareman S <a class="moz-txt-link-rfc2396E" href="mailto:chalor99@gmail.com" moz-do-not-send="true"><chalor99@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Hi,
Here is my pre-build with erlang OTP22.2.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">...
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">=== Running configure in /export/home/itmxadm/otp-OTP-22.2/lib/wx ===
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">...
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">checking if we can link wxwidgets programs... no
configure: creating sparc-sun-solaris2.11/config.status
config.status: creating config.mk
config.status: creating c_src/Makefile
configure: WARNING: Can not find wx/stc/stc.h -Wall -fPIC -O -Wno-deprecated-declarations -fomit-frame-pointer -fno-strict-aliasing -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT -I/export/home/itmxadm/WX/wxWidgets-3.1.3/build_x11/lib/wx/include/x11univ-unicode-3.1 -I/export/home/itmxadm/WX/wxWidgets-3.1.3/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXUNIVERSAL__ -D__WXX11__ -pthreads -D_REENTRANT
configure: WARNING: Can not link wx program are all developer packages installed?
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">...
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">wx : wxWidgets don't have gl support, wx will NOT be useable
wxWidgets don't have wxStyledTextControl (stc.h), wx will NOT be useable
Can not link the wx driver, wx will NOT be useable
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">...
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">./configure CC=${IDE_CC} CXX=${IDE_CXX} CFLAGS="-O" CXXFLAGS=-g --enable-compat28 --prefix=/usr/local. Above config above after build successful can't used wx.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">Given the wx-related warnings above, it's not surprising that wx
doesn't work for you. You'll need to inspect the config.log file for
lib/wx/ so see what the errors were, but off-hand it looks like an
incomplete wxWidgets installation.
</pre>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>