[prev in list] [next in list] [prev in thread] [next in thread]
List: opensolaris-discuss
Subject: Re: [osol-discuss] [OpenIndiana-discuss] Building aria2 from source
From: ken mays <maybird1776 () yahoo ! com>
Date: 2012-11-20 22:35:18
Message-ID: 1353450918.59021.YahooMailNeo () web162204 ! mail ! bf1 ! yahoo ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Jason,
Using GCC
On oi_151a7:
$ autoconf --version
autoconf (GNU Autoconf) 2.63
$ gettext --version
gettext (GNU gettext-runtime) 0.16.1
$ gcc --version
gcc (GCC) 4.6.2
$ cd aria2-1.15.2
$ ./configure --enable-static=no --with-gnutls --enable-bittorrent --enable-metalink \
--enable-threads=posix --enable-epoll
configure: summary of build options:
....
Build: i386-pc-solaris2.11
Host: i386-pc-solaris2.11
Target: i386-pc-solaris2.11
Install prefix: /usr
CXXFLAGS: -g -O2
CFLAGS: -g -O2
CPPFLAGS: -I$(top_builddir)/deps/wslay/lib/includes \
-I$(top_srcdir)/deps/wslay/lib/includes -I/usr/include/libxml2 -D_REENTRANT \
LDFLAGS:
LIBS: $(top_builddir)/deps/wslay/lib/libwslay.la -lgcrypt -lgpg-error \
-lgnutls -lsqlite3 -L/usr/lib -R/usr/lib -lxml2 -lz -lpthread -lm -lsocket - lnsl
DEFS: -DHAVE_CONFIG_H
SQLite3: yes
GnuTLS: yes
OpenSSL:
CA Bundle:
LibXML2: yes
LibExpat:
LibCares: no
Zlib: no
Epoll:
Bittorrent: yes
Metalink: yes
XML-RPC: yes
Message Digest: yes
WebSocket: yes
bash_completion dir: ${datarootdir}/doc/${PACKAGE_TARNAME}/bash_completion
Static build:
....
$ ls -al /usr/bin/aria2c
-rwxr-xr-x 1 root root 3595412 Nov 20 22:07 /usr/bin/aria2c
....
$ ldd /usr/bin/aria2c
libgcrypt.so.11 => /usr/lib/libgcrypt.so.11
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0
libgnutls.so.26 => /usr/lib/libgnutls.so.26
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0
libxml2.so.2 => /usr/lib/libxml2.so.2
libz.so.1 => /usr/lib/libz.so.1
libpthread.so.1 => /usr/lib/libpthread.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libstdc++.so.6 => /usr/lib/libstdc++.so.6
libm.so.2 => /usr/lib/libm.so.2
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1
libc.so.1 => /usr/lib/libc.so.1
libtasn1.so.3 => /usr/lib/libtasn1.so.3
libmp.so.2 => /lib/libmp.so.2
libmd.so.1 => /lib/libmd.so.1
....
$ uname -a
SunOS pi 5.11 oi_151a7 i86pc i386 i86pc Solaris
$ file /usr/bin/aria2c
ELF 32-bit LSB executable 80386 Version 1 [FPU], dynamically linked, stripped
$ /usr/bin/aria2c --version
aria2 version 1.15.2
Copyright (C) 2006, 2012 Tatsuhiro Tsujikawa
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
** Configuration **
Enabled Features: BitTorrent, Firefox3 Cookie, HTTPS, Message Digest, Metalink,
XML-RPC
Hash Algorithms: sha-1, sha-224, sha-256, sha-384, sha-512, md5
Report bugs to t-tujikawa@users.sourceforge.net
Visit http://aria2.sourceforge.net/
Hope that helps you,
Ken Mays
________________________________
From: Jason Lawrence <jjlawren@gmail.com>
To: openindiana-discuss@openindiana.org
Sent: Tuesday, November 20, 2012 3:57 PM
Subject: [OpenIndiana-discuss] Building aria2 from source
I'm having trouble setting up a reasonable build environment on oi_151a7. Using aria2 \
as an example package [https://github.com/tatsuhiro-t/aria2], the (initial) \
limitation seems to be outdated versions of autoconf and gettext as I can't find a \
clean way to configure the package. Any suggestions on where to start looking?
(Sorry if this was a repost. My first message was held/rejected as I was not a member \
yet.)
--jason
_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss
[Attachment #5 (text/html)]
<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, \
courier, monaco, monospace, \
sans-serif;font-size:10pt"><div><span>Jason,</span></div><div style="color: rgb(0, 0, \
0); font-size: 13.3333px; font-family: Courier \
New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: \
normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: \
13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; \
background-color: transparent; font-style: normal;"><span>Using \
GCC<br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; \
font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: \
transparent; font-style: normal;"><span>On oi_151a7:</span></div><div style="color: \
rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier \
New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: \
normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: \
13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; \
background-color: transparent; font-style: normal;"><span>$ autoconf \
--version<br>autoconf (GNU Autoconf) 2.63</span></div><div style="color: rgb(0, 0, \
0); font-size: 13.3333px; font-family: Courier \
New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: \
normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: \
13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; \
background-color: transparent; font-style: normal;"><span>$ gettext \
--version<br>gettext (GNU gettext-runtime) 0.16.1</span></div><br>$ gcc \
--version<br><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: \
Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; \
font-style: normal;"><span>gcc (GCC) 4.6.2<br></span></div><div style="color: rgb(0, \
0, 0); font-size: 13.3333px; font-family: Courier \
New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: \
normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: \
13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; \
background-color: transparent; font-style: normal;"><span>$ cd \
aria2-1.15.2<br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; \
font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: \
transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, \
0); font-size: 13.3333px; font-family: Courier \
New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: \
normal;"><span>$ ./configure --enable-static=no</span> --with-gnutls \
<span>--enable-bittorrent --enable-metalink --enable-threads=posix \
--enable-epoll</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; \
font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: \
transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, \
0); font-size: 13.3333px; font-family: Courier \
New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: \
normal;"><span>configure: summary of build \
options:<br><br>....<br>Build: \
i386-pc-solaris2.11<br>Host: \
i386-pc-solaris2.11<br>Target: \
i386-pc-solaris2.11<br>Install prefix: \
/usr<br>CXXFLAGS: -g \
-O2<br>CFLAGS: -g \
-O2<br>CPPFLAGS: \
-I$(top_builddir)/deps/wslay/lib/includes \
-I$(top_srcdir)/deps/wslay/lib/includes \
-I/usr/include/libxml2
-D_REENTRANT<br>LDFLAGS:<br>LIBS: \
$(top_builddir)/deps/wslay/lib/libwslay.la -lgcrypt -lgpg-error -lgnutls \
-lsqlite3 -L/usr/lib -R/usr/lib -lxml2 -lz -lpthread -lm -lsocket \
-<br>lnsl<br>DEFS: \
-DHAVE_CONFIG_H<br>SQLite3: \
yes<br>GnuTLS: yes<br>OpenSSL:<br>CA \
Bundle:<br>LibXML2: \
yes<br>LibExpat:<br>LibCares: \
no<br>Zlib: \
no<br>Epoll:<br>Bittorrent: \
yes<br>Metalink: \
yes<br>XML-RPC: yes<br>Message Digest: \
yes<br>WebSocket: yes<br>bash_completion dir: \
${datarootdir}/doc/${PACKAGE_TARNAME}/bash_completion<br>Static \
build:</span></div><div><br></div>....<br><br><div style="color: rgb(0, 0, 0); \
font-size: 13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; \
background-color: transparent; font-style: normal;">$ ls -al \
/usr/bin/aria2c<br>-rwxr-xr-x 1 root root 3595412 Nov 20 22:07 \
/usr/bin/aria2c</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; \
font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: \
transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); \
font-size: 13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; \
background-color: transparent; font-style: normal;">....</div><div style="color: \
rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier \
New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: \
normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; \
font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: \
transparent; font-style: normal;">$ ldd \
/usr/bin/aria2c<br> libgcrypt.so.11 \
=> \
/usr/lib/libgcrypt.so.11<br> \
libgpg-error.so.0 => \
/usr/lib/libgpg-error.so.0<br> \
libgnutls.so.26 => \
/usr/lib/libgnutls.so.26<br> \
libsqlite3.so.0 => \
/usr/lib/libsqlite3.so.0<br> libxml2.so.2 \
=> /usr/lib/libxml2.so.2<br> \
libz.so.1 => \
/usr/lib/libz.so.1<br> libpthread.so.1 \
=> \
/usr/lib/libpthread.so.1<br> libsocket.so.1 \
=> \
/usr/lib/libsocket.so.1<br> libnsl.so.1 \
=> /usr/lib/libnsl.so.1<br> \
libstdc++.so.6 => \
/usr/lib/libstdc++.so.6<br> libm.so.2 \
=> \
/usr/lib/libm.so.2<br> libgcc_s.so.1 \
=> \
/usr/lib/libgcc_s.so.1<br> libc.so.1 \
=> \
/usr/lib/libc.so.1<br> libtasn1.so.3 \
=> \
/usr/lib/libtasn1.so.3<br> libmp.so.2 \
=> \
/lib/libmp.so.2<br> libmd.so.1 \
=> /lib/libmd.so.1</div><div style="color: rgb(0, 0, 0); \
font-size: 13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; \
background-color: transparent; font-style: normal;"><br></div><div style="color: \
rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier \
New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: \
normal;">....</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; \
font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: \
transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); \
font-size: 13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; \
background-color: transparent; font-style: normal;">$ uname -a</div><div \
style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier \
New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: \
normal;">SunOS pi 5.11 oi_151a7 i86pc i386 i86pc Solaris</div><div style="color: \
rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier \
New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: \
normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; \
font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: \
transparent; font-style: normal;">$ file /usr/bin/aria2c<br>ELF 32-bit LSB executable \
80386 Version 1 [FPU], dynamically linked, stripped</div><div style="color: rgb(0, 0, \
0); font-size: 13.3333px; font-family: Courier \
New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: \
normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; \
font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: \
transparent; font-style: normal;">$ /usr/bin/aria2c --version<br>aria2 version \
1.15.2<br>Copyright (C) 2006, 2012 Tatsuhiro Tsujikawa<br><br>This program is free \
software; you can redistribute it and/or modify<br>it under the terms of the GNU \
General Public License as published by<br>the Free Software Foundation; either \
version 2 of the License, or<br>(at your option) any later version.<br><br>This \
program is distributed in the hope that it will be useful,<br>but WITHOUT ANY \
WARRANTY; without even the implied warranty of<br>MERCHANTABILITY or FITNESS FOR A \
PARTICULAR PURPOSE. See the<br>GNU General Public License for more \
details.<br><br>** Configuration **<br>Enabled Features: BitTorrent, Firefox3 Cookie, \
HTTPS, Message Digest, Metalink,<br>XML-RPC<br>Hash Algorithms: sha-1, sha-224, \
sha-256, sha-384, sha-512, md5<br><br>Report bugs to \
t-tujikawa@users.sourceforge.net<br>Visit http://aria2.sourceforge.net/</div><div \
style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier \
New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: \
normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; \
font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: \
transparent; font-style: normal;">Hope that helps you,</div><div style="color: rgb(0, \
0, 0); font-size: 13.3333px; font-family: Courier \
New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: \
normal;">Ken Mays</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; \
font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: \
transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); \
font-size: 13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; \
background-color: transparent; font-style: normal;"><br></div><div style="color: \
rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier \
New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: \
normal;"><br></div> <div style="font-family: Courier New, courier, monaco, \
monospace, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, \
new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" \
size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Jason \
Lawrence <jjlawren@gmail.com><br> <b><span style="font-weight: \
bold;">To:</span></b> openindiana-discuss@openindiana.org <br> <b><span \
style="font-weight: bold;">Sent:</span></b> Tuesday, November 20, 2012 3:57 PM<br> \
<b><span style="font-weight: bold;">Subject:</span></b> [OpenIndiana-discuss] \
Building aria2 from source<br> </font> </div> <br> I'm having trouble setting up a \
reasonable build environment on oi_151a7. Using aria2 as an example package [<a \
href="https://github.com/tatsuhiro-t/aria2" \
target="_blank">https://github.com/tatsuhiro-t/aria2</a>], the (initial) limitation \
seems to be outdated versions of autoconf and gettext as I can't find a clean way to \
configure the package. Any suggestions on where to start looking?<br><br>(Sorry if \
this was a repost. My first message was held/rejected as I was not a member \
yet.)<br><br>--jason<br>_______________________________________________<br>OpenIndiana-discuss \
mailing list<br><a ymailto="mailto:OpenIndiana-discuss@openindiana.org" \
href="mailto:OpenIndiana-discuss@openindiana.org">OpenIndiana-discuss@openindiana.org</a><br><a \
href="http://openindiana.org/mailman/listinfo/openindiana-discuss" \
target="_blank">http://openindiana.org/mailman/listinfo/openindiana-discuss</a><br><br><br> \
</div> </div> </div></body></html>
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic