[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:54:49
Message-ID: 1353452089.20613.YahooMailNeo () web162205 ! mail ! bf1 ! yahoo ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Jason,
Means you must roll your newer builds of autoconf and gettext and point your \
configure options to that. You can deinstall the old builds for easier detection in \
some cases.
~ Ken Mays
________________________________
From: Jason Lawrence <jjlawren@gmail.com>
To: ken mays <maybird1776@yahoo.com>
Cc: "opensolaris-discuss@opensolaris.org" <opensolaris-discuss@opensolaris.org>
Sent: Tuesday, November 20, 2012 5:43 PM
Subject: Re: [OpenIndiana-discuss] Building aria2 from source
Sorry, I should have specified this is when building from the master branch after \
checking out the git repo. I can't even get to the point of being able to generate a \
configure script correctly:
$ ~/src $ git clone git://github.com/tatsuhiro-t/aria2.git
Cloning into aria2...
remote: Counting objects: 43660, done.
remote: Compressing objects: 100% (5124/5124), done.
remote: Total 43660 (delta 38635), reused 43527 (delta 38502)
Receiving objects: 100% (43660/43660), 15.49 MiB | 162 KiB/s, done.
Resolving deltas: 100% (38635/38635), done.
$ ~/src $ cd aria2
$ ~/src/aria2 $ autoreconf -i
autopoint: *** The AM_GNU_GETTEXT_VERSION declaration in your configure.ac \
file requires the infrastructure from gettext-0.18 but this version is \
older. Please upgrade to gettext-0.18 or newer.
autopoint: *** Stop.
autoreconf: autopoint failed with exit status: 1
$ ~/src/aria2 $ autoconf
configure.ac:4: error: Autoconf version 2.67 or higher is required
configure.ac:4: the top level
autom4te: /usr/sfw/bin/gm4 failed with exit status: 63
--jason
On Tuesday, November 20, 2012 at 4:35 PM, ken mays wrote:
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">Jason,<br><br>Means you must \
roll your newer builds of autoconf and gettext and point your configure options to \
that.<br>You can deinstall the old builds for easier detection in some \
cases.<br><br>~ Ken Mays<br><div><span><br></span></div><div><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> ken \
mays <maybird1776@yahoo.com> <br><b><span style="font-weight: \
bold;">Cc:</span></b> "opensolaris-discuss@opensolaris.org" \
<opensolaris-discuss@opensolaris.org> <br> <b><span style="font-weight: \
bold;">Sent:</span></b> Tuesday, November 20, 2012 5:43 PM<br> <b><span \
style="font-weight: bold;">Subject:</span></b> Re: [OpenIndiana-discuss] Building \
aria2 from source<br> </font> </div> <br> <div id="yiv188202148">
<div style="font-family:Helvetica;font-size:13px;">Sorry, I should \
have specified this is when building from the master branch after checking out the \
git repo. I can't even get to the point of being able to generate a configure script \
correctly:<div><br></div><div><div>$ ~/src $ git clone \
git://github.com/tatsuhiro-t/aria2.git</div><div>Cloning into \
aria2...</div><div>remote: Counting objects: 43660, done.</div><div>remote: \
Compressing objects: 100% (5124/5124), done.</div><div>remote: Total 43660 (delta \
38635), reused 43527 (delta 38502)</div><div>Receiving objects: 100% (43660/43660), \
15.49 MiB | 162 KiB/s, done.</div><div>Resolving deltas: 100% (38635/38635), \
done.</div><div><br></div><div>$ ~/src $ cd aria2</div><div>$ ~/src/aria2 $ \
autoreconf -i</div><div>autopoint: *** The AM_GNU_GETTEXT_VERSION declaration in your \
configure.ac file requires the \
infrastructure from gettext-0.18 but this version \
is older. Please upgrade to gettext-0.18 or newer.</div><div>autopoint: \
*** Stop.</div><div>autoreconf: autopoint failed with exit status: \
1</div></div><div><br></div><div><div>$ ~/src/aria2 $ \
autoconf </div><div>configure.ac:4: error: Autoconf version 2.67 or higher is \
required</div><div>configure.ac:4: the top level</div><div>autom4te: /usr/sfw/bin/gm4 \
failed with exit status: 63</div></div></div>
<div><div><br></div><div>--jason</div><div><br></div></div>
<div style="color:#A0A0A8;">On Tuesday, November 20, 2012 at 4:35 PM, \
ken mays wrote:</div>
<blockquote type="cite" \
style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;"> \
<span><div><div><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/<a rel="nofollow" target="_blank" \
href="http://libwslay.la/">libwslay.la</a> -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 <a rel="nofollow" \
ymailto="mailto:t-tujikawa@users.sourceforge.net" target="_blank" \
href="mailto:t-tujikawa@users.sourceforge.net">t-tujikawa@users.sourceforge.net</a><br>Visit \
<a rel="nofollow" target="_blank" \
href="http://aria2.sourceforge.net/">http://aria2.sourceforge.net</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;"><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 <<a \
rel="nofollow" ymailto="mailto:jjlawren@gmail.com" target="_blank" \
href="mailto:jjlawren@gmail.com">jjlawren@gmail.com</a>><br> <b><span \
style="font-weight:bold;">To:</span></b> <a rel="nofollow" \
ymailto="mailto:openindiana-discuss@openindiana.org" target="_blank" \
href="mailto:openindiana-discuss@openindiana.org">openindiana-discuss@openindiana.org</a> \
<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 rel="nofollow" target="_blank" \
href="https://github.com/tatsuhiro-t/aria2">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 rel="nofollow" \
ymailto="mailto:OpenIndiana-discuss@openindiana.org" target="_blank" \
href="mailto:OpenIndiana-discuss@openindiana.org">OpenIndiana-discuss@openindiana.org</a><br><a \
rel="nofollow" target="_blank" \
href="http://openindiana.org/mailman/listinfo/openindiana-discuss">http://openindiana.org/mailman/listinfo/openindiana-discuss</a><br><br><br>
</div> </div> </div></div></div></span>
</blockquote>
<div>
<br>
</div>
</div><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