Re: installation problems - ubuntu 11.10
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2012-01-10 15:48:47
|
Dear Eric, Thank you very much for your testing and patience. Now public will enjoy smooth compilation at latest ubuntu and with gcc-4.6. Sincerely, Robert 2012/1/10 Mueller, Eric <emu...@ar...>: > Robert, > > This worked great! Thanks so much for helping me! > > Thanks again, > > Eric > > On 1/10/12 2:52 AM, "Robert Iakobashvili" <cor...@gm...> wrote: > >>Dear Eric, >> >>It looks like the issue might be not in libevent but in curl-loader. >> >>There is a Makefile in curl-loader-0.55 directory. >>The order of systems libraries in the Makefile (for gcc-4.6) needs to be >>changed >>and to be like the below: >> >># Link Libraries. In some cases, plese add -lidn, or -lldap >>LIBS= -lcurl -levent -lz -lssl -lcrypto -lcares -ldl -lpthread -lnsl >>-lrt -lresolv >> >>I'm attaching the corrected Makefile. >>Please, place it to curl-loader-0.55 overwriting the existing Makefile. >> >>Further run: >> >>make cleanall >>make >> >>If still any errors, please let me know them. >> >>Thank you for your time and your patience. >> >>Sincerely, >>Robert >> >>2012/1/9 Robert Iakobashvili <cor...@gm...>: >>> Eric, >>> >>> Thank you. It's night here in Israel, so I'll >>> hopefully send you the fix 2moru. >>> >>> Sincerely, >>> Robert >>> >>> 2012/1/9 Mueller, Eric <emu...@ar...>: >>>> Awesome, thanks so much for helping me. >>>> >>>> On 1/9/12 3:51 PM, "Robert Iakobashvili" <cor...@gm...> wrote: >>>> >>>>>Eric, >>>>> >>>>>Thank you very much. >>>>> >>>>>I'll prepare a patch for libevent to make build >>>>>gcc-4.6 going smoothly. >>>>> >>>>>Thanks! >>>>>Robert >>>>> >>>>>2012/1/9 Mueller, Eric <emu...@ar...>: >>>>>> This is the output of gcc -v.... >>>>>> >>>>>> emueller@ubuntux:~/curl-loader-0.55$ gcc -v >>>>>> Using built-in specs. >>>>>> COLLECT_GCC=gcc >>>>>> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper >>>>>> Target: x86_64-linux-gnu >>>>>> Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro >>>>>> 4.6.1-9ubuntu3' >>>>>>--with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs >>>>>> --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr >>>>>> --program-suffix=-4.6 --enable-shared --enable-linker-build-id >>>>>> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext >>>>>> --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 >>>>>> --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu >>>>>> --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin >>>>>> --enable-objc-gc --disable-werror --with-arch-32=i686 >>>>>>--with-tune=generic >>>>>> --enable-checking=release --build=x86_64-linux-gnu >>>>>>--host=x86_64-linux-gnu >>>>>> --target=x86_64-linux-gnu >>>>>> Thread model: posix >>>>>> gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On 1/9/12 3:46 PM, "Robert Iakobashvili" <cor...@gm...> wrote: >>>>>> >>>>>>>Dear Eric, >>>>>>> >>>>>>>What says >>>>>>> >>>>>>>gcc -v ? >>>>>>> >>>>>>>My guess, you have gcc version 4.6 and this is >>>>>>> >>>>>>>For gcc version 4.6.*, -lrt must be after and I'll need to patch >>>>>>>libevent library to make it working for gcc 4.6. >>>>>>> >>>>>>>Older gcc version doesn't care the position. >>>>>>> >>>>>>>-- >>>>>>>Regards, >>>>>>>Robert Iakobashvili, Ph.D. >>>>>>> >>>>>>>Home: http://www.ghotit.com >>>>>>>Blog: http://www.ghotit.com/category/ghotit-blogs/ >>>>>>>Twitter: http://twitter.com/ghotit >>>>>>>Facebook: http://facebook.com/ghotit >>>>>>>..................................................................... >>>>>>>. >>>>>>> Ghotit Dyslexia >>>>>>>Assistive technology that understands you >>>>>>>..................................................................... >>>>>>>. >>>>>>> >>>>>>>On Mon, Jan 9, 2012 at 10:31 PM, Mueller, Eric <emu...@ar...> >>>>>>>wrote: >>>>>>>> Robert, >>>>>>>> >>>>>>>> >>>>>>>> I have installed a fresh ubuntu 11.10 virtual machine and started >>>>>>>>from >>>>>>>> scratch. I first installed build-essentials and then downloaded >>>>>>>> curl-loader-0.55 and did the make clean and make install optimize=1 >>>>>>>> debug=0. I then got the error belowŠ. >>>>>>>> >>>>>>>> >>>>>>>> ssl_thr_lock.h:27:28: fatal error: openssl/crypto.h: No such file >>>>>>>>or >>>>>>>> directory >>>>>>>> compilation terminated. >>>>>>>> make: *** [obj/loader.o] Error 1 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> So I went and installed libssl-dev (according to README) and then >>>>>>>>got >>>>>>>>the >>>>>>>> error belowŠ. >>>>>>>> >>>>>>>> ./lib/libevent.a(event.o): In function >>>>>>>>`event_base_loop.constprop.18': >>>>>>>> event.c:(.text+0x4ee): undefined reference to `clock_gettime' >>>>>>>> event.c:(.text+0x570): undefined reference to `clock_gettime' >>>>>>>> event.c:(.text+0x98d): undefined reference to `clock_gettime' >>>>>>>> event.c:(.text+0xa23): undefined reference to `clock_gettime' >>>>>>>> ./lib/libevent.a(event.o): In function `event_init': >>>>>>>> event.c:(.text+0x16f3): undefined reference to `clock_gettime' >>>>>>>> ./lib/libevent.a(event.o):event.c:(.text+0x1971): more undefined >>>>>>>> references to `clock_gettime' follow >>>>>>>> collect2: ld returned 1 exit status >>>>>>>> make: *** [curl-loader] Error 1 >>>>>>>> >>>>>>>> Please let me know what I am missing. >>>>>>>> >>>>>>>> Thanks, >>>>>>>> eric >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On 1/9/12 9:13 AM, "Robert Iakobashvili" <cor...@gm...> >>>>>>>>wrote: >>>>>>>> >>>>>>>>>Eric, >>>>>>>>> >>>>>>>>>Please, download and try the most recent curl-loader-0.55 >>>>>>>>>Thanks! >>>>>>>>> >>>>>>>>>On Sun, Jan 8, 2012 at 9:08 AM, Robert Iakobashvili >>>>>>>>><cor...@gm...> >>>>>>>>>wrote: >>>>>>>>>> Hi Eric, >>>>>>>>>> >>>>>>>>>> On Sun, Jan 8, 2012 at 8:54 AM, Mueller, Eric >>>>>>>>>><emu...@ar...> >>>>>>>>>>wrote: >>>>>>>>>>> Thanks >>>>>>>>>>> >>>>>>>>>>> It seems that when I make the changes to the two files >>>>>>>>>>>configure.ac >>>>>>>>>>>and >>>>>>>>>>> ssluse.c and then run "sudo make optimize=1 debug=0" the >>>>>>>>>>>installation >>>>>>>>>>> process bombs out and the changes do not get saved in the files >>>>>>>>>>>I >>>>>>>>>>> modified. I tried doing it with "make clean" first too, but same >>>>>>>>>>>result. >>>>>>>>>>> >>>>>>>>>>> Is there a way that I can compile this thing without it checking >>>>>>>>>>>for >>>>>>>>>>> openssl? I don't need SSL for the current testing I need to do. >>>>>>>>>>> >>>>>>>>>>> Thanks again! >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>> libtool: link: gcc -fomit-frame-pointer -O3 -ffast-math >>>>>>>>>>>>>-finline-functions >>>>>>>>>>>>> -funroll-all-loops -finline-limit=1000 -mmmx -msse >>>>>>>>>>>>>-foptimize-sibling-calls >>>>>>>>>>>>> -DCURL_MAX_WRITE_SIZE=4096 -g0 -Wno-system-headers -o curl >>>>>>>>>>>>>main.o >>>>>>>>>>>>>hugehelp.o >>>>>>>>>>>>> urlglob.o writeout.o writeenv.o getpass.o homedir.o curlutil.o >>>>>>>>>>>>>os-specific.o >>>>>>>>>>>>> xattr.o strtoofft.o strdup.o rawstr.o nonblock.o >>>>>>>>>>>>> >>>>>>>>>>>>>-L/home/emueller/curl-loader-0.54/build/c-ares/c-ares-1.7.4/lib >>>>>>>>>>>>> -L/usr/include/openssl/lib >>>>>>>>>>>>> /home/emueller/curl-loader-0.54/build/curl/lib/libcurl.a >>>>>>>>>>>>> >>>>>>>>>>>>>/home/emueller/curl-loader-0.54/build/c-ares/c-ares-1.7.4/lib/l >>>>>>>>>>>>>ibc >>>>>>>>>>>>>ar >>>>>>>>>>>>>es >>>>>>>>>>>>>.so >>>>>>>>>>>>> -lssl -lcrypto -lrt -lz -Wl,-rpath >>>>>>>>>>>>> >>>>>>>>>>>>>-Wl,/home/emueller/curl-loader-0.54/build/c-ares/c-ares-1.7.4/l >>>>>>>>>>>>>ib >>>>>>>>>>>>>-Wl,-rpath >>>>>>>>>>>>> >>>>>>>>>>>>>-Wl,/home/emueller/curl-loader-0.54/build/c-ares/c-ares-1.7.4/l >>>>>>>>>>>>>ib >>>>>>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> uname -a >>>>>>>>>>>>> >>>>>>>>>>>>> Linux ubuntack 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 >>>>>>>>>>>>>14:56:25 >>>>>>>>>>>>>UTC >>>>>>>>>>>>>2011 >>>>>>>>>>>>> x86_64 x86_64 x86_64 GNU/Linux >>>>>>>>>>>>> >>>>>>>>>>>>> emueller@ubuntack:~/curl-loader-0.54$ >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> CURL-LOADER VERSION: version 0.54, stable, January 2, 2012, >>>>>>>>>>>>>svn >>>>>>>>>>>>>587 >>>>>>>>>> >>>>>>>>>>>>>----- >>>>>>>>>>>>> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't >>>>>>>>>>>>>need a >>>>>>>>>>>>>complex >>>>>>>>>>>>> infrastructure or vast IT resources to deliver seamless, >>>>>>>>>>>>>secure >>>>>>>>>>>>>access >>>>>>>>>>>>>to >>>>>>>>>>>>> virtual desktops. With this all-in-one solution, easily deploy >>>>>>>>>>>>>virtual >>>>>>>>>>>>> desktops for less than the cost of PCs and save 60% on VDI >>>>>>>>>>>>>infrastructure >>>>>>>>>>>>> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> curl-loader-devel mailing list >>>>>>>>>>>>> cur...@li... >>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/curl-loader-devel >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>>I think you are running into the issue in libcurl/curl: >>>>>>>>>>>> >>>>>>>>>>>>http://comments.gmane.org/gmane.comp.web.curl.general/12537 >>>>>>>>>>>> >>>>>>>>>>>>We'll update curl-loader with the latest release. >>>>>>>>>>>>Actually, it could be dealt by patching libcurl/curl. >>>>>>>>>>>> >>>>>>>>>>>>If u know how to deal with it, just go ahead. Sorry, I do not >>>>>>>>>>>>have >>>>>>>>>>>>ubuntu. >>>>>>>>>> >>>>>>>>>> Right. The changes need to enter a new patch to be applied as you >>>>>>>>>>can >>>>>>>>>>see >>>>>>>>>> the example in Makefile. >>>>>>>>>> >>>>>>>>>> If you do not know how to do that, >>>>>>>>>> >>>>>>>>>> try to build it without ssl, e.g. >>>>>>>>>> >>>>>>>>>> in Makefile remove >>>>>>>>>> --with-ssl=/usr/include/openssl \ >>>>>>>>>> >>>>>>>>>> or it might be necessary instead >>>>>>>>>> >>>>>>>>>> to pass >>>>>>>>>> --disbable-ssl \ >>>>>>>>>> >>>>>>>>>> Alternatively, take some previous version of curl tarball, place >>>>>>>>>>it >>>>>>>>>>to >>>>>>>>>> directory packages and correct the version in Makefile. >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Regards, >>>>>>>>>> Robert Iakobashvili, Ph.D. >>>>>>>>>> >>>>>>>>>> Home: http://www.ghotit.com >>>>>>>>>> Blog: http://www.ghotit.com/category/ghotit-blogs/ >>>>>>>>>> Twitter: http://twitter.com/ghotit >>>>>>>>>> Facebook: http://facebook.com/ghotit >>>>>>>>>> >>>>>>>>>>.................................................................. >>>>>>>>>>... >>>>>>>>>>. >>>>>>>>>> Ghotit Dyslexia >>>>>>>>>> Assistive technology that understands you >>>>>>>>>> >>>>>>>>>>.................................................................. >>>>>>>>>>... >>>>>>>>>>. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>-- >>>>>>>>>Regards, >>>>>>>>>Robert Iakobashvili, Ph.D. >>>>>>>>> >>>>>>>>>Home: http://www.ghotit.com >>>>>>>>>Blog: http://www.ghotit.com/category/ghotit-blogs/ >>>>>>>>>Twitter: http://twitter.com/ghotit >>>>>>>>>Facebook: http://facebook.com/ghotit >>>>>>>>>................................................................... >>>>>>>>>... >>>>>>>>> Ghotit Dyslexia >>>>>>>>>Assistive technology that understands you >>>>>>>>>................................................................... >>>>>>>>>... >>>>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>>-- >>>>>Regards, >>>>>Robert Iakobashvili, Ph.D. >>>>> >>>>>Home: http://www.ghotit.com >>>>>Blog: http://www.ghotit.com/category/ghotit-blogs/ >>>>>Twitter: http://twitter.com/ghotit >>>>>Facebook: http://facebook.com/ghotit >>>>>...................................................................... >>>>> Ghotit Dyslexia >>>>>Assistive technology that understands you >>>>>...................................................................... >>>> >>> >>> >>> >>> -- >>> Regards, >>> Robert Iakobashvili, Ph.D. >>> >>> Home: http://www.ghotit.com >>> Blog: http://www.ghotit.com/category/ghotit-blogs/ >>> Twitter: http://twitter.com/ghotit >>> Facebook: http://facebook.com/ghotit >>> ...................................................................... >>> Ghotit Dyslexia >>> Assistive technology that understands you >>> ...................................................................... >> >> >> >>-- >>Regards, >>Robert Iakobashvili, Ph.D. >> >>Home: http://www.ghotit.com >>Blog: http://www.ghotit.com/category/ghotit-blogs/ >>Twitter: http://twitter.com/ghotit >>Facebook: http://facebook.com/ghotit >>...................................................................... >> Ghotit Dyslexia >>Assistive technology that understands you >>...................................................................... > -- Regards, Robert Iakobashvili, Ph.D. Home: http://www.ghotit.com Blog: http://www.ghotit.com/category/ghotit-blogs/ Twitter: http://twitter.com/ghotit Facebook: http://facebook.com/ghotit ...................................................................... Ghotit Dyslexia Assistive technology that understands you ...................................................................... |