Having a more complete terminal output from that error would be useful ;)
But - which version of libticonv are you building, and how are you building it ? There's an issue with the version corresponding to TILP II 1.18, fixed in Git. It's supposed to work now, as Adriweb performed tests for ticket #225 from MacOS X.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The full terminal output from running the install script is below:
ModernMacOSXversionsdon't like programs installing to /usr, using /usr/local insteadModifying PKG_CONFIG_PATH on MacOS XWill use PREFIX=/usr/localWill use SRCDIR=/Users/USERNAME/lpgWill use PATH=/usr/local/opt/llvm/bin:/Users/USERNAME/anaconda/bin:/Users/USERNAME/Library/Haskell/bin:/Users/USERNAME/torch/install/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin:/usr/local/git/bin:/usr/local/MacGPG2/bin:/Library/TeX/texbinWill use LD_LIBRARY_PATH=Will use PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/X11/lib/pkgconfigWill use LIBDIR=/usr/local/libWill use CC=gccWill use CXX=g++-e Before proceeding further, make sure that you'rereadytogo(lookinsidetheinstallscript):-e1)configuredPREFIXandSRCDIRthewayyouwish-e(aswellasCCandCXXifyou're into using non-GCC compilers when the distro defaults to GCC);-e 2) configured PKG_CONFIG_PATH if necessary-e 3) purged any installed distro packages for libticonv, libtifiles, libticables, libticalcs, gfm, tilp.-e 4) installed the build dependencies listed in the script. For instance:Debian 8:-e apt-get install build-essential git autoconf automake autopoint libtool libtool-bin libglib2.0-dev zlib1g-dev libusb-1.0-0-dev libgtk2.0-dev libglade2-dev gettext bison flex groff texinfo xdg-utils libarchive-dev intltoolFedora 23:-e dnf install git gcc gcc-c++ make pkgconfig autoconf automake libtool glib2-devel zlib-devel libusb1-devel gtk2-devel libglade2-devel gettext bison flex groff texinfo xdg-utils libarchive-devel intltool xzCentOS 7:-e yum install git gcc gcc-c++ make pkgconfig autoconf automake libtool glib2-devel zlib-devel libusb1-devel gtk2-devel libglade2-devel gettext bison flex groff texinfo xdg-utils libarchive-devel intltool xzOpenSUSE 42.1:-e zypper install git gcc gcc-c++ make pkg-config autoconf automake libtool glib2-devel zlib-devel libusb-1_0-devel gtk2-devel libglade2-devel gettext-tools bison flex groff texinfo xdg-utils libarchive-devel intltool xzAlpine 3.3:-e apk add git gcc g++ make pkgconfig autoconf automake libtool glib-dev zlib-dev libusb-dev gtk+-dev libglade-dev gettext-dev bison flex groff texinfo xdg-utils libarchive-dev intltool xzArch Linux 2015.06.01 + upgrades:-e pacman -S git gcc make pkgconfig autoconf automake libtool glib2 zlib libusb gtk2 libglade gettext bison flex groff texinfo xdg-utils libarchive intltool xzMacOS X:-e brew install gettext libarchive autoconf automake libtool glib lzlib libusb gtk+ libglade sdl bison flex texinfo intltool-e brew link --force libarchive gettext (you can use 'brewunlink' later).-e Otherwise, either the build will fail, or the system may not use the just-built version (e.g. if you didn'tpurgethedistropackages)!-eENTERtoproceed,CTRL+Ctoabort.CreatingoutputfolderifnecessaryPerformingaquickroughsanitycheckoncompilersHelloWorld!CC=gccexistsandisnottotallybrokenHelloWorld!CXX=g++existsandisnottotallybrokenCheckingwhether/usr/localcanbewrittento===Downloadingtilibs===UpdatingtilibsAlreadyup-to-date.===Downloadingtilp_and_gfm===Updatingtilp_and_gfmAlreadyup-to-date.===libticonv===Configuringtilibs/libticonvautoreconf:Enteringdirectory`.'autoreconf: configure.ac: not using Gettextautoreconf: running: aclocal --force -I m4autoreconf: configure.ac: tracingautoreconf: running: glibtoolize --copy --force/usr/local/bin/glibtoolize: line 406: /usr/local/Library/ENV/4.3/sed: No such file or directory/usr/local/bin/glibtoolize: line 2513: /usr/local/Library/ENV/4.3/sed: No such file or directory/usr/local/bin/glibtoolize: line 2513: /usr/local/Library/ENV/4.3/sed: No such file or directory/usr/local/bin/glibtoolize: line 3601: /usr/local/Library/ENV/4.3/sed: No such file or directory/usr/local/bin/glibtoolize: line 3845: /usr/local/Library/ENV/4.3/sed: No such file or directory/usr/local/bin/glibtoolize: line 861: /usr/local/Library/ENV/4.3/sed: No such file or directory: putting auxiliary files in '.'.: copying file './ltmain.sh'/usr/local/bin/glibtoolize: line 3771: /usr/local/Library/ENV/4.3/sed: No such file or directoryautoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoconf --forceautoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoheader --forceautoreconf: running: automake --add-missing --copy --force-missingconfigure.ac:45: installing './compile'configure.ac:24: installing './missing'src/Makefile.am: installing './depcomp'autoreconf: Leaving directory `.'configure:WARNING:unrecognizedoptions:--enable-iconvcheckingforaBSD-compatibleinstall.../usr/bin/install-ccheckingwhetherbuildenvironmentissane...yescheckingforathread-safemkdir-p..../install-sh-c-dcheckingforgawk...nocheckingformawk...nocheckingfornawk...nocheckingforawk...awkcheckingwhethermakesets$(MAKE)...yescheckingwhethermakesupportsnestedvariables...yescheckingwhethertoenablemaintainer-specificportionsofMakefiles...nocheckingbuildsystemtype...x86_64-apple-darwin15.6.0checkinghostsystemtype...x86_64-apple-darwin15.6.0checkinghowtoprintstrings...printfcheckingforstyleofincludeusedbymake...GNUcheckingforgcc...gcccheckingwhethertheCcompilerworks...yescheckingforCcompilerdefaultoutputfilename...a.outcheckingforsuffixofexecutables...checkingwhetherwearecrosscompiling...nocheckingforsuffixofobjectfiles...ocheckingwhetherweareusingtheGNUCcompiler...yescheckingwhethergccaccepts-g...yescheckingforgccoptiontoacceptISOC89...noneneededcheckingwhethergccunderstands-cand-otogether...yescheckingdependencystyleofgcc...gcc3checkingforasedthatdoesnottruncateoutput.../usr/bin/sedcheckingforgrepthathandleslonglinesand-e.../usr/bin/grepcheckingforegrep.../usr/bin/grep-Echeckingforfgrep.../usr/bin/grep-Fcheckingforldusedbygcc.../Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ldcheckingifthelinker(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld)isGNUld...nocheckingforBSD-orMS-compatiblenamelister(nm).../usr/bin/nm-Bcheckingthenamelister(/usr/bin/nm-B)interface...BSDnmcheckingwhetherln-sworks...yescheckingthemaximumlengthofcommandlinearguments...196608checkinghowtoconvertx86_64-apple-darwin15.6.0filenamestox86_64-apple-darwin15.6.0format...func_convert_file_noopcheckinghowtoconvertx86_64-apple-darwin15.6.0filenamestotoolchainformat...func_convert_file_noopcheckingfor/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ldoptiontoreloadobjectfiles...-rcheckingforobjdump...objdumpcheckinghowtorecognizedependentlibraries...pass_allcheckingfordlltool...dlltoolcheckinghowtoassociateruntimeandlinklibraries...printf%s\ncheckingforar...archeckingforarchiver@FILEsupport...nocheckingforstrip...stripcheckingforranlib...ranlibcheckingcommandtoparse/usr/bin/nm-Boutputfromgccobject...okcheckingforsysroot...nocheckingforaworkingdd.../bin/ddcheckinghowtotruncatebinarypipes.../bin/ddbs=4096count=1checkingformt...nocheckingif:isamanifesttool...nocheckingfordsymutil...dsymutilcheckingfornmedit...nmeditcheckingforlipo...lipocheckingforotool...otoolcheckingforotool64...nocheckingfor-single_modulelinkerflag...yescheckingfor-exported_symbols_listlinkerflag...yescheckingfor-force_loadlinkerflag...yescheckinghowtoruntheCpreprocessor...gcc-EcheckingforANSICheaderfiles...yescheckingforsys/types.h...yescheckingforsys/stat.h...yescheckingforstdlib.h...yescheckingforstring.h...yescheckingformemory.h...yescheckingforstrings.h...yescheckingforinttypes.h...yescheckingforstdint.h...yescheckingforunistd.h...yescheckingfordlfcn.h...yescheckingforobjdir....libscheckingifgccsupports-fno-rtti-fno-exceptions...yescheckingforgccoptiontoproducePIC...-fno-common-DPICcheckingifgccPICflag-fno-common-DPICworks...yescheckingifgccstaticflag-staticworks...nocheckingifgccsupports-c-ofile.o...yescheckingifgccsupports-c-ofile.o...(cached)yescheckingwhetherthegcclinker(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld)supportssharedlibraries...yescheckingdynamiclinkercharacteristics...darwin15.6.0dyldcheckinghowtohardcodelibrarypathsintoprograms...immediatecheckingwhetherstrippinglibrariesispossible...yescheckingiflibtoolsupportssharedlibraries...yescheckingwhethertobuildsharedlibraries...yescheckingwhethertobuildstaticlibraries...nocheckingforgcc...(cached)gcccheckingwhetherweareusingtheGNUCcompiler...(cached)yescheckingwhethergccaccepts-g...(cached)yescheckingforgccoptiontoacceptISOC89...(cached)noneneededcheckingwhethergccunderstands-cand-otogether...(cached)yescheckingdependencystyleofgcc...(cached)gcc3checkingwhethermakesets$(MAKE)...(cached)yescheckingwhetherln-sworks...yescheckingforlibrarycontainingstrerror...nonerequiredcheckingforgawk...(cached)awkcheckingfortfdocgen...nocheckingforwindres...nocheckingforpkg-config.../usr/local/bin/pkg-configcheckingpkg-configisatleastversion0.9.0...yescheckingforGLIB...yescheckingforANSICheaderfiles...(cached)yescheckingforinttypes.h...(cached)yescheckingforstdint.h...(cached)yescheckingforstdlib.h...(cached)yescheckingforstring.h...(cached)yescheckingforanANSIC-conformingconst...yescheckingforC/C++restrictkeyword...__restrictcheckingforsize_t...yescheckingwhetherstructtmisinsys/time.hortime.h...time.hcheckingwhethergccneeds-traditional...nocheckingwhetherlstatcorrectlyhandlestrailingslash...nocheckingwhetherstatacceptsanemptystring...nocheckingformemset...yescheckingforstrcasecmp...yescheckingforstrchr...yescheckingforstrdup...yescheckingforstrrchr...yescheckingwhethergccaccepts-fvisibility...-fvisibility=hiddencheckingthatgeneratedfilesarenewerthanconfigure...doneconfigure:creating./config.statusconfig.status:creatingMakefileconfig.status:creatingbuild/mingw/Makefileconfig.status:creatingdocs/Makefileconfig.status:creatingsrc/Makefileconfig.status:creatingtests/Makefileconfig.status:creatingticonv.pcconfig.status:creatingconfig.hconfig.status:config.hisunchangedconfig.status:executingdepfilescommandsconfig.status:executinglibtoolcommandsconfigure:WARNING:unrecognizedoptions:--enable-iconvNow,youcantype'make'and'make install'.Buildingtilibs/libticonv/Applications/Xcode.app/Contents/Developer/usr/bin/makeall-recursiveMakingallinbuild/mingwmake[2]:Nothingtobedonefor`all'.Makingallinsrc/bin/sh../libtool--tag=CC --mode=link gcc -Wall -g -O2 -D__LINUX__ -fvisibility=hidden -no-undefined -version-info 9:4:0 -o libticonv.la -rpath /usr/local/lib libticonv_la-ticonv.lo libticonv_la-charset.lo libticonv_la-tokens.lo libticonv_la-filename.lo libticonv_la-type2str.lo libticonv_la-iconv.lo -L/usr/local/Cellar/glib/2.52.3/lib -L/usr/local/opt/gettext/lib -lglib-2.0 -lintl -Wl,-framework -Wl,CoreFoundation libtool:link:gcc-dynamiclib-o.libs/libticonv.9.dylib.libs/libticonv_la-ticonv.o.libs/libticonv_la-charset.o.libs/libticonv_la-tokens.o.libs/libticonv_la-filename.o.libs/libticonv_la-type2str.o.libs/libticonv_la-iconv.o-L/usr/local/Cellar/glib/2.52.3/lib-L/usr/local/opt/gettext/lib-lglib-2.0-lintl-g-O2-Wl,-framework-Wl,CoreFoundation-install_name/usr/local/lib/libticonv.9.dylib-compatibility_version10-current_version10.4-Wl,-single_moduleUndefinedsymbolsforarchitecturex86_64:"_iconv",referencedfrom:_ticonv_iconvinlibticonv_la-iconv.o(maybeyoumeant:_ticonv_iconv_close,_ticonv_iconv_open,_ticonv_iconv)"_iconv_close",referencedfrom:_ticonv_iconv_closeinlibticonv_la-iconv.o(maybeyoumeant:_ticonv_iconv_close)"_iconv_open",referencedfrom:_ticonv_iconv_openinlibticonv_la-iconv.o(maybeyoumeant:_ticonv_iconv_open)ld:symbol(s)notfoundforarchitecturex86_64clang:error:linkercommandfailedwithexitcode1(use-vtoseeinvocation)make[2]:***[libticonv.la]Error1make[1]:***[all-recursive]Error1make:***[all]Error2
This is equivalent to the results I have gotten when building by hand.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Weird, the patch has been specifically designed to solve tha tissue, and works as expected for me :(
When you applied the patch, how did you re-build libticonv? IIRC, you can just go into the libticonv folder (in trunk/src I believe) and do autoreconf -vif && ./configure && make -j4.
Lionel may have more info about this... Eventually the patch should be merged so the install script would be working fine on its own, though.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Having a more complete terminal output from that error would be useful ;)
But - which version of libticonv are you building, and how are you building it ? There's an issue with the version corresponding to TILP II 1.18, fixed in Git. It's supposed to work now, as Adriweb performed tests for ticket #225 from MacOS X.
I was trying to build 1.1.5 associated with TILP II 1.15. Would building it from git most likely work?
The full terminal output from running the install script is below:
This is equivalent to the results I have gotten when building by hand.
Actually, Adriweb had to patch libticonv for it to build on MacOS X as well, and both of us forgot about it...
Try applying his fix https://usercontent.irccloud-cdn.com/file/ArsFNPV7/0001-libticonv-Fix-build-on-macOS.patch , using
patch -p1. It should definitely work. When you have tested it, I can push it to master :)I ran the patch and I still was getting the same error.
Weird, the patch has been specifically designed to solve tha tissue, and works as expected for me :(
When you applied the patch, how did you re-build libticonv? IIRC, you can just go into the libticonv folder (in trunk/src I believe) and do
autoreconf -vif && ./configure && make -j4.Lionel may have more info about this... Eventually the patch should be merged so the install script would be working fine on its own, though.
I ran the same process and it didn't work for me, maybe once it merges I can try
it again and see if it runs any better.