Re: [clemens-ue/[email protected]: make problem on OS-X 10.8]

Johannes Hofmann <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <20170206084744.GA1348@glob>
Hi,

just could try to build dillo on OS X El Capitan. Here is what I did:

* install MacPorts (www.macports.org)
* sudo port install mercurial fltk automake autoconf
* Download build and install mbedtls https://tls.mbed.org/ (make; sudo make install)
* hg clone http://hg.dillo.org/dillo
* cd dillo
* ./autogen.sh
* export CPPFLAGS="-I/opt/local/include/ -I/usr/local/include/"
* ./configure
* make

worked out of the box.

Hope this helps,
Johannes



On Wed, Jan 25, 2017 at 10:17:43PM -0300, Jorge Arellano Cid wrote:
> 
> -- 
>   Cheers
>   Jorge.-

> Date: Wed, 25 Jan 2017 11:32:54 +0100 (CET)
> From: "Chr. Clemens Lee" <[email protected]>
> To: [email protected]
> Subject: make problem on OS-X 10.8
> 
> Hi Jorge,
> 
> please forward to the mailing list or tell me where to file a bug for a build problem
> on Mac OS-X 10.8 that I have. Or if you are the right person, then also good.
> 
> I used the dillo package that comes with MacPorts, but it has no https support build in.
> 
> So I tried to compile it and got an error.
> 
> BTW, I used dillo first on Raspberry Pi via raspian and devuan and like the basic app.
> 
> Regarding ssl, I have a macports openssl package under /opt/local as well as a default
> Apple one under /usr, but I have no idea what configure has selected.
> 
> Thanks and best regards,
>    Clemens
> 
> 
> This is from the hg clone today:
> 
> g++ -I/opt/X11/include/libpng16 -I/Users/clemens/local/include -I/Users/clemens/local/include/FL/images -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -g -O2 -Wall -W -Wno-unused-parameter -fno-rtti -fno-exceptions  -L/usr/local/lib -o dillo dillo.o paths.o tipwin.o ui.o uicmd.o bw.o cookies.o hsts.o auth.o md5.o digest.o colors.o misc.o history.o prefs.o prefsparser.o keys.o url.o bitvec.o klist.o chain.o utf8.o timeout.o dialog.o web.o nav.o cache.o decode.o dicache.o capi.o domain.o css.o cssparser.o styleengine.o plain.o html.o form.o table.o bookmark.o dns.o gif.o jpeg.o png.o imgbuf.o image.o menu.o dpiapi.o findbar.o xembed.o ../dlib/libDlib.a ../dpip/libDpip.a IO/libDiof.a ../dw/libDw-widgets.a ../dw/libDw-fltk.a ../dw/libDw-core.a ../lout/liblout.a -L/opt/X11/lib -lpng16 -L/Users/clemens/local/lib -lfltk -lpthread -framework Cocoa -lz -liconv
> Undefined symbols for architecture x86_64:
>   "_a_Tls_connect", referenced from:
>       _a_Http_ccc in libDiof.a(http.o)
>       _Http_connect_tls in libDiof.a(http.o)
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make[3]: *** [dillo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> 
> Strangely I tried to upgrade to the latest dillo version in macports but is seems to be
> gone from there. I have it thought installed from there before, thought.
> 
> 41 clemens@ssd!2011 2017-01-25 10:41:33 ~/local/dillo-3.0.5:-)sudo port install dillo
> Password:
> Warning: Skipping dillo (not in the ports tree)
> --->  Scanning binaries for linking errors
> --->  No broken files found.
> 
> The 3.0.5 compile error from the download is:
> 
> Making all in dpi
> gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I/usr/local/include  -g -O2 -DD_DNS_THREADED -D_REENTRANT -D_THREAD_SAFE -Wall -W -Wno-unused-parameter -Waggregate-return -MT https.o -MD -MP -MF .deps/https.Tpo -c -o https.o https.c
> 
> ...
> 
> https.c:165:57: error: use of undeclared identifier 'SSL_OP_NO_COMPRESSION'
>                         SSL_OP_NO_SSLv2|SSL_OP_NO_SSLv3|SSL_OP_NO_COMPRESSION);
> 
> ...
> 
> 21 warnings and 1 error generated.
> make[2]: *** [https.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 

> _______________________________________________
> Dillo-dev mailing list
> [email protected]
> http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev


_______________________________________________
Dillo-dev mailing list
[email protected]
http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.