--===============0268169921== Content-Type: multipart/alternative; boundary="-1589821586-1056869869-1353452089=:20613" ---1589821586-1056869869-1353452089=:20613 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Jason,=0A=0AMeans you must roll your newer builds of autoconf and gettext a= nd point your configure options to that.=0AYou can deinstall the old builds= for easier detection in some cases.=0A=0A~ Ken Mays=0A=0A=0A=0A=0A________= ________________________=0A From: Jason Lawrence =0ATo:= ken mays =0ACc: "opensolaris-discuss@opensolaris.o= rg" =0ASent: Tuesday, November 20, 20= 12 5:43 PM=0ASubject: Re: [OpenIndiana-discuss] Building aria2 from source= =0A =0A=0ASorry, I should have specified this is when building from the mas= ter branch after checking out the git repo. I can't even get to the point o= f being able to generate a configure script correctly:=0A=0A$ ~/src $ git c= lone git://github.com/tatsuhiro-t/aria2.git=0ACloning into aria2...=0Aremot= e: Counting objects: 43660, done.=0Aremote: Compressing objects: 100% (5124= /5124), done.=0Aremote: Total 43660 (delta 38635), reused 43527 (delta 3850= 2)=0AReceiving objects: 100% (43660/43660), 15.49 MiB | 162 KiB/s, done.=0A= Resolving deltas: 100% (38635/38635), done.=0A=0A$ ~/src $ cd aria2=0A$ ~/s= rc/aria2 $ autoreconf -i=0Aautopoint: *** The AM_GNU_GETTEXT_VERSION declar= ation in your configure.ac =A0 =A0 =A0 =A0 =A0 =A0 =A0 file requires the in= frastructure from gettext-0.18 but this version =A0 =A0 =A0 =A0 =A0 =A0 =A0= is older. Please upgrade to gettext-0.18 or newer.=0Aautopoint: *** Stop.= =0Aautoreconf: autopoint failed with exit status: 1=0A=0A$ ~/src/aria2 $ au= toconf=A0=0Aconfigure.ac:4: error: Autoconf version 2.67 or higher is requi= red=0Aconfigure.ac:4: the top level=0Aautom4te: /usr/sfw/bin/gm4 failed wit= h exit status: 63=0A=0A=0A--jason=0A=0AOn Tuesday, November 20, 2012 at 4:3= 5 PM, ken mays wrote:=0AJason,=0A>=0A>=0A>Using GCC=0A>=0A>On oi_151a7:=0A>= =0A>=0A>$ autoconf --version=0A>autoconf (GNU Autoconf) 2.63=0A>=0A>=0A>$ g= ettext --version=0A>gettext (GNU gettext-runtime) 0.16.1=0A>$ gcc --version= =0A>=0A>gcc (GCC) 4.6.2=0A>=0A>=0A>=0A>$ cd aria2-1.15.2=0A>=0A>=0A>=0A>$ .= /configure --enable-static=3Dno --with-gnutls --enable-bittorrent --enable-= metalink --enable-threads=3Dposix --enable-epoll=0A>=0A>=0A>configure: summ= ary of build options:=0A>=0A>....=0A>Build:=A0=A0=A0=A0=A0=A0=A0=A0=A0 i386= -pc-solaris2.11=0A>Host:=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 i386-pc-solaris2.11= =0A>Target:=A0=A0=A0=A0=A0=A0=A0=A0 i386-pc-solaris2.11=0A>Install prefix: = /usr=0A>CXXFLAGS:=A0=A0=A0=A0=A0=A0 -g -O2=0A>CFLAGS:=A0=A0=A0=A0=A0=A0=A0= =A0 -g -O2=0A>CPPFLAGS:=A0=A0=A0=A0=A0=A0 -I$(top_builddir)/deps/wslay/lib/= includes -I$(top_srcdir)/deps/wslay/lib/includes=A0=A0=A0=A0=A0 -I/usr/incl= ude/libxml2=A0=0A -D_REENTRANT=0A>LDFLAGS:=0A>LIBS:=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 $(top_builddir)/deps/wslay/lib/libwslay.la -lgcrypt -lgpg-error -lgn= utls=A0=A0 -lsqlite3=A0=A0 -L/usr/lib -R/usr/lib -lxml2 -lz -lpthread -lm -= lsocket -=0A>lnsl=0A>DEFS:=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -DHAVE_CONFIG_H=0A= >SQLite3:=A0=A0=A0=A0=A0=A0=A0 yes=0A>GnuTLS:=A0=A0=A0=A0=A0=A0=A0=A0 yes= =0A>OpenSSL:=0A>CA Bundle:=0A>LibXML2:=A0=A0=A0=A0=A0=A0=A0 yes=0A>LibExpat= :=0A>LibCares:=A0=A0=A0=A0=A0=A0 no=0A>Zlib:=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = no=0A>Epoll:=0A>Bittorrent:=A0=A0=A0=A0 yes=0A>Metalink:=A0=A0=A0=A0=A0=A0 = yes=0A>XML-RPC:=A0=A0=A0=A0=A0=A0=A0 yes=0A>Message Digest: yes=0A>WebSocke= t:=A0=A0=A0=A0=A0 yes=0A>bash_completion dir:=0A ${datarootdir}/doc/${PACKA= GE_TARNAME}/bash_completion=0A>Static build:=0A>=0A>....=0A>=0A>=0A>$ ls -a= l /usr/bin/aria2c=0A>-rwxr-xr-x 1 root root 3595412 Nov 20 22:07 /usr/bin/a= ria2c=0A>=0A>=0A>....=0A>=0A>=0A>$ ldd /usr/bin/aria2c=0A>=A0=A0=A0=A0=A0= =A0=A0 libgcrypt.so.11 =3D>=A0=A0=A0=A0=A0=A0 /usr/lib/libgcrypt.so.11=0A>= =A0=A0=A0=A0=A0=A0=A0 libgpg-error.so.0 =3D>=A0=A0=A0=A0 /usr/lib/libgpg-er= ror.so.0=0A>=A0=A0=A0=A0=A0=A0=A0 libgnutls.so.26 =3D>=A0=A0=A0=A0=A0=A0 /u= sr/lib/libgnutls.so.26=0A>=A0=A0=A0=A0=A0=A0=A0 libsqlite3.so.0 =3D>=A0=A0= =A0=A0=A0=A0 /usr/lib/libsqlite3.so.0=0A>=A0=A0=A0=A0=A0=A0=A0 libxml2.so.2= =3D>=A0 /usr/lib/libxml2.so.2=0A>=A0=A0=A0=A0=A0=A0=A0 libz.so.1 =3D>=A0= =A0=A0=A0 /usr/lib/libz.so.1=0A>=A0=A0=A0=A0=A0=A0=A0 libpthread.so.1 =3D>= =A0=A0=A0=A0=A0=A0=0A /usr/lib/libpthread.so.1=0A>=A0=A0=A0=A0=A0=A0=A0 lib= socket.so.1 =3D>=A0=A0=A0=A0=A0=A0=A0 /usr/lib/libsocket.so.1=0A>=A0=A0=A0= =A0=A0=A0=A0 libnsl.so.1 =3D>=A0=A0 /usr/lib/libnsl.so.1=0A>=A0=A0=A0=A0=A0= =A0=A0 libstdc++.so.6 =3D>=A0=A0=A0=A0=A0=A0=A0 /usr/lib/libstdc++.so.6=0A>= =A0=A0=A0=A0=A0=A0=A0 libm.so.2 =3D>=A0=A0=A0=A0 /usr/lib/libm.so.2=0A>=A0= =A0=A0=A0=A0=A0=A0 libgcc_s.so.1 =3D>=A0=A0=A0=A0=A0=A0=A0=A0 /usr/lib/libg= cc_s.so.1=0A>=A0=A0=A0=A0=A0=A0=A0 libc.so.1 =3D>=A0=A0=A0=A0 /usr/lib/libc= .so.1=0A>=A0=A0=A0=A0=A0=A0=A0 libtasn1.so.3 =3D>=A0=A0=A0=A0=A0=A0=A0=A0 /= usr/lib/libtasn1.so.3=0A>=A0=A0=A0=A0=A0=A0=A0 libmp.so.2 =3D>=A0=A0=A0=0A = /lib/libmp.so.2=0A>=A0=A0=A0=A0=A0=A0=A0 libmd.so.1 =3D>=A0=A0=A0 /lib/libm= d.so.1=0A>=0A>=0A>....=0A>=0A>=0A>$ uname -a=0A>SunOS pi 5.11 oi_151a7 i86p= c i386 i86pc Solaris=0A>=0A>=0A>$ file /usr/bin/aria2c=0A>ELF 32-bit LSB ex= ecutable 80386 Version 1 [FPU], dynamically linked, stripped=0A>=0A>=0A>$ /= usr/bin/aria2c --version=0A>aria2 version=0A 1.15.2=0A>Copyright (C) 2006, = 2012 Tatsuhiro Tsujikawa=0A>=0A>This program is free software; you can redi= stribute it and/or modify=0A>it under the terms of the GNU General Public L= icense as published by=0A>the Free Software Foundation; either version 2 of= the License, or=0A>(at your option) any later version.=0A>=0A>This program= is distributed in the hope that it will be useful,=0A>but WITHOUT ANY WARR= ANTY; without even the implied warranty of=0A>MERCHANTABILITY or FITNESS FO= R A PARTICULAR PURPOSE.=A0 See the=0A>GNU General Public License for more d= etails.=0A>=0A>** Configuration **=0A>Enabled Features: BitTorrent, Firefox= 3 Cookie, HTTPS, Message Digest, Metalink,=0A>XML-RPC=0A>Hash Algorithms: s= ha-1, sha-224, sha-256, sha-384, sha-512, md5=0A>=0A>Report bugs to t-tujik= awa@users.sourceforge.net=0A>Visit http://aria2.sourceforge.net/=0A>=0A>=0A= >Hope that helps you,=0A>Ken Mays=0A>=0A>=0A>=0A>=0A>=0A>=0A>=0A>__________= ______________________=0A> From: Jason Lawrence =0A>To:= openindiana-discuss@openindiana.org =0A>Sent: Tuesday, November 20, 2012 3= :57 PM=0A>Subject: [OpenIndiana-discuss] Building aria2 from source=0A> =0A= >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], t= he (initial) limitation seems to be outdated versions of autoconf and gette= xt as I can't find a clean way to configure the package. Any suggestions on= where to start looking?=0A>=0A>(Sorry if this was a repost. My first messa= ge was held/rejected as I was not a member yet.)=0A>=0A>--jason=0A>________= _______________________________________=0A>OpenIndiana-discuss mailing list= =0A>OpenIndiana-discuss@openindiana.org=0A>http://openindiana.org/mailman/l= istinfo/openindiana-discuss=0A>=0A>=0A> ---1589821586-1056869869-1353452089=:20613 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Jason,
Means you must roll your newer builds of autoconf and gettext and poin= t your configure options to that.
You can deinstall the old builds for e= asier detection in some cases.

~ Ken Mays

<= /div>

=
From: Jason Lawrence <jjlawren@gmail.com>
= To: ken mays <maybird1= 776@yahoo.com>
Cc: = "opensolaris-discuss@opensolaris.org" <opensolaris-discuss@opensolaris.o= rg>
Sent: Tuesday, November 2= 0, 2012 5:43 PM
Subject: Re: [OpenIndiana-discuss] Building aria2 from source
=
=0A
=0A
Sorry, I should have specified this is when bu= ilding 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/ari= a2.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
a= utopoint: *** The AM_GNU_GETTEXT_VERSION declaration in your configure.ac &= nbsp;             file requires the infrastru= cture from gettext-0.18 but this version               is older. Pl= ease upgrade to gettext-0.18 or newer.
autopoint: *** Stop.
=
autoreconf: autopoint failed with exit status: 1

<= /div>
$ ~/src/aria2 $ autoconf 
configure.ac:4: err= or: Autoconf version 2.67 or higher is required
configure.ac:4: t= he top level
autom4te: /usr/sfw/bin/gm4 failed with exit status: = 63
=0A

--jason

=0A =0A
On Tuesday, November 20, 2012 at 4:35 PM, ken mays wrote:<= /div>=0A
=0A =
Jason,

Using GCC
On oi_15= 1a7:

$ autoconf --version
autoconf (GNU Autoconf) 2.63

$ gett= ext --version
gettext (GNU gettext-runtime) 0.16.1

$ gcc= --version
gcc (GCC) 4.6.2

$ cd aria2-1.15.= 2

$ ./configure --enable-static=3Dno --with-gnutls --enable-= bittorrent --enable-metalink --enable-threads=3Dposix --enable-epoll=

configure: summary of build options:

= ....
Build:          i386-p= c-solaris2.11
Host:         = ;  i386-pc-solaris2.11
Target:      &= nbsp;  i386-pc-solaris2.11
Install prefix: /usr
CXXFLAGS: &= nbsp;     -g -O2
CFLAGS:    &nbs= p;    -g -O2
CPPFLAGS:      = ; -I$(top_builddir)/deps/wslay/lib/includes -I$(top_srcdir)/deps/wslay/lib/= includes      -I/usr/include/libxml2 =0A -D_R= EENTRANT
LDFLAGS:
LIBS:       &nbs= p;   $(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:     &nb= sp;     -DHAVE_CONFIG_H
SQLite3:   &n= bsp;    yes
GnuTLS:      &n= bsp;  yes
OpenSSL:
CA Bundle:
LibXML2:    = ;    yes
LibExpat:
LibCares:    &n= bsp;  no
Zlib:         = ;  no
Epoll:
Bittorrent:     yes
Metalink= :       yes
XML-RPC:   &nbs= p;    yes
Message Digest: yes
WebSocket:      yes
bash_completion dir= :=0A ${datarootdir}/doc/${PACKAGE_TARNAME}/bash_completion
Static build:=

....

$ ls -al /usr/bin/a= ria2c
-rwxr-xr-x 1 root root 3595412 Nov 20 22:07 /usr/bin/aria2c
<= div style=3D"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
      =   libgcrypt.so.11 =3D>       /usr/lib= /libgcrypt.so.11
        libgpg-error= .so.0 =3D>     /usr/lib/libgpg-error.so.0
 &= nbsp;      libgnutls.so.26 =3D>  &nbs= p;    /usr/lib/libgnutls.so.26
    &n= bsp;   libsqlite3.so.0 =3D>      = ; /usr/lib/libsqlite3.so.0
        li= bxml2.so.2 =3D>  /usr/lib/libxml2.so.2
    &= nbsp;   libz.so.1 =3D>     /usr/lib/libz.s= o.1
        libpthread.so.1 =3D>&n= bsp;     =0A /usr/lib/libpthread.so.1
 &nb= sp;      libsocket.so.1 =3D>   &= nbsp;    /usr/lib/libsocket.so.1
    =     libnsl.so.1 =3D>   /usr/lib/libnsl.so.1
=         libstdc++.so.6 =3D> &nbs= p;      /usr/lib/libstdc++.so.6
  &nb= sp;     libm.so.2 =3D>     /usr/= lib/libm.so.2
        libgcc_s.so.1 = =3D>         /usr/lib/libgcc_s.s= o.1
        libc.so.1 =3D> &n= bsp;   /usr/lib/libc.so.1
      =   libtasn1.so.3 =3D>        = ; /usr/lib/libtasn1.so.3
        libm= p.so.2 =3D>   =0A /lib/libmp.so.2
   &n= bsp;    libmd.so.1 =3D>    /lib/libmd.so.1=

....
<= br>
$ 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=0A 1.15.2
Copyright = (C) 2006, 2012 Tatsuhiro Tsujikawa

This program is free software; yo= u can redistribute it and/or modify
it under the terms of the GNU Genera= l Public License as published by
the Free Software Foundation; either ve= rsion 2 of the License, or
(at your option) any later version.

Th= is program is distributed in the hope that it will be useful,
but WITHOU= T ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or = FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public Licen= se for more details.

** Configuration **
Enabled Features: BitTor= rent, Firefox3 Cookie, HTTPS, Message Digest, Metalink,
XML-RPC
Hash = Algorithms: sha-1, sha-224, sha-256, sha-384, sha-512, md5

Report bu= gs to t-tuj= ikawa@users.sourceforge.net
Visit = http://aria2.sourceforge.net/

Hope that helps you,
Ken Mays




From: Jason Lawrence <jjlawren@gmail.com>
T= o: openindiana-discuss@openindiana.org
Sent: Tuesday, November 20, 2012 3:= 57 PM
Subject: [OpenInd= iana-discuss] Building aria2 from source

=0AI'm havi= ng trouble setting up a reasonable build environment on oi_151a7. Using ari= a2 as an example package [https://github.com/tatsuhiro-t/aria2= ], the (initial) limitation seems to be outdated versions of autoconf and g= ettext as I can't find a clean way to configure the package. Any suggestion= s on where to start looking?

(Sorry if this was a repost. My first m= essage 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

<= br>
=0A =0A = =0A =0A =0A =0A =0A
=0A
= =0A
=0A


---1589821586-1056869869-1353452089=:20613-- --===============0268169921== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org --===============0268169921==--