Hi Tom, I forgot to mention, I used macports only for needed libraries and went thru git pull to building xastir 2.1.1.
I am going to try-it right away and let you know. Cyril > Le 25 mai 2018 à 08:33, Tom Russo <ru...@bogodyn.org> a écrit : > > The use of AI_NUMERICSERV was introduced into Xastir in January of this year, > as part of adding IPv6 support. it sounds like Macports has now gotten caught > up with Xastir versions and is trying to install Xastir 2.1.0, which has this > new code. > > Apparently OS X 10.6 is the first version of OS X that has this declared, > making > Xastir 2.1.0 incompatible with OS X 10.5.x. > > That's a really old version of OS X, and there are not many Xastir users still > using it. OS X 10.6 was released in 2009. I realize that you have no option > to upgrade your OS to a more recent one on that hardware. > > See for example: > https://bugs.php.net/bug.php?id=75293&edit=2 > > If you are using Xastir from a release tarball, I think the best and fastest > path forward for you is simply to add these lines near the top of > src/interface.c: > > // Older versions of glibc <= 2.3.0 and <= OS X 10.5 do not have this > constant defined > #ifndef AI_NUMERICSERV > #define AI_NUMERICSERV 0 > #endif > > It should have no effect on systems where the constant is already defined, > and > it should get you past the compilation errors. > > If you are using a git clone, then just go ahead and do a git pull. I have > just added these lines to interface.c. > > If you are trying to install Xastir from macports then you've got a real > problem, as macports appears to have updated to Xastir 2.1.0, and then is > trying to build it from source. Xastir 2.1.0 is not compatible with OS X > prior to 10.6. Xastir 2.1.2 will be. You might have to tell Macports to > downgrade to the previous release, if that is possible, or install Xastir > directly from source without macports. Or maybe someone here more familiar > with how macports works can help you make an end run around what it's doing > and force this patch into its build. > > On Fri, May 25, 2018 at 08:00:13AM +0200, we recorded a bogon-computron > collision of the <f1...@free.fr> flavor, containing: >> Good morning Group, >> >> Following some Macports files updates, i cannot run anymore Xastir and >> trying to rebuild-it, i am getting the following: >> >> >> "xastir will be installed in /opt/local/bin. >> Type 'make' to build Xastir (Use 'gmake' instead on some systems). >> >> make all-recursive >> Making all in src >> Making all in rtree >> make[3]: Nothing to be done for `all'. >> depbase=`echo interface.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ >> gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I/sw/include >> -I/opt/local/include -I/usr/local/include -I/opt/include -I/usr/X11/include >> -I/opt/local/include/db48/ -DXASTIR_DATA_BASE=\"/opt/local/share/xastir\" >> -g -O2 -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes >> -Wno-unused-parameter -MT interface.o -MD -MP -MF $depbase.Tpo -c -o >> interface.o ../../src/interface.c &&\ >> mv -f $depbase.Tpo $depbase.Po >> ../../src/interface.c: In function ???net_init???: >> ../../src/interface.c:5030: error: ???AI_NUMERICSERV??? undeclared (first >> use in this function) >> ../../src/interface.c:5030: error: (Each undeclared identifier is reported >> only once >> ../../src/interface.c:5030: error: for each function it appears in.) >> make[3]: *** [interface.o] Error 1 >> make[2]: *** [all-recursive] Error 1 >> make[1]: *** [all-recursive] Error 1 >> make: *** [all] Error 2??? >> >> Thank-you for help >> >> >> 73 de Cyril - DF1CHB/AM - F1MHV/M >> >> >> >> _______________________________________________ >> Xastir mailing list >> Xastir@lists.xastir.org >> http://xastir.org/mailman/listinfo/xastir > > -- > Tom Russo KM5VY > Tijeras, NM > > echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m] > > _______________________________________________ > Xastir mailing list > Xastir@lists.xastir.org > http://xastir.org/mailman/listinfo/xastir _______________________________________________ Xastir mailing list Xastir@lists.xastir.org http://xastir.org/mailman/listinfo/xastir