Thread: [Cppcms-users] Building cppcms - prerequisites
Brought to you by:
artyom-beilis
|
From: Alexey O. <aom...@gm...> - 2013-07-05 06:54:50
|
Hello, I tried to build the trunk following the instructions. cmake .. issued error: FATAL No library with socket found FATAL No library with gethostbyname found Installing SocketW resolved the problem. But since I have not found any reference to that library in the wiki, I am asking you to help me understand what is the right way to build the trunk. Regards, Alexey. |
|
From: Artyom B. <art...@ya...> - 2013-07-05 07:29:17
|
you know it would be very helpful for YOU to give some details... What OS you are running, version, compiler, etc, full output etc. Also read: http://cppcms.com/wikipp/en/page/cppcms_1x_build Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Alexey Omelchenko <aom...@gm...> >To: cpp...@li... >Sent: Friday, July 5, 2013 9:54 AM >Subject: [Cppcms-users] Building cppcms - prerequisites > > > >Hello, > > >I tried to build the trunk following the instructions. >cmake .. issued error: >FATAL No library with socket found >FATAL No library with gethostbyname found > > >Installing SocketW resolved the problem. But since I have not found any reference to that library in the wiki, I am asking you to help me understand what is the right way to build the trunk. > > >Regards, >Alexey. >------------------------------------------------------------------------------ >This SF.net email is sponsored by Windows: > >Build for Windows Store. > >http://p.sf.net/sfu/windows-dev2dev >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |
|
From: Alexey O. <aom...@gm...> - 2013-07-05 13:03:52
|
CentOS 6 GCC 4.8.0 custom build [aomelche@portland build]$ echo $PATH /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/aomelche/bin:/home/aomelche/gcc-4.8.0/bin [aomelche@portland build]$ cmake .. -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /home/aomelche/gcc-4.8.0/bin/gcc -- Check for working C compiler: /home/aomelche/gcc-4.8.0/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /home/aomelche/gcc-4.8.0/bin/c++ -- Check for working CXX compiler: /home/aomelche/gcc-4.8.0/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for ICU libraries -- ICU Found, building booster locale -- Performing Test GCC_IS_GCC4 -- Performing Test GCC_IS_GCC4 - Success FATAL No library with socket found FATAL No library with gethostbyname found CMake Error at CMakeLists.txt:259 (message): No library with dlopen found -- Configuring incomplete, errors occurred! Everything was performed according the instructions at your link. Regards, Alexey. On 5 July 2013 11:29, Artyom Beilis <art...@ya...> wrote: > you know it would be very helpful for YOU to give some details... > > What OS you are running, version, compiler, etc, full output etc. > > Also read: http://cppcms.com/wikipp/en/page/cppcms_1x_build > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > ------------------------------ > *From:* Alexey Omelchenko <aom...@gm...> > *To:* cpp...@li... > *Sent:* Friday, July 5, 2013 9:54 AM > *Subject:* [Cppcms-users] Building cppcms - prerequisites > > Hello, > > I tried to build the trunk following the instructions. > cmake .. issued error: > FATAL No library with socket found > FATAL No library with gethostbyname found > > Installing SocketW resolved the problem. But since I have not found any > reference to that library in the wiki, I am asking you to help me > understand what is the right way to build the trunk. > > Regards, > Alexey. > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |
|
From: Shiv S. D. <shi...@gm...> - 2013-07-05 13:07:43
|
You should look at CMakeError.log which will tell you exactly what is the problem. Try to use default compiler in /usr/bin/ instead from your home director. Since, libnl.so is so basic that it seems your compiler settings are not good. On Fri, Jul 5, 2013 at 6:33 PM, Alexey Omelchenko <aom...@gm...>wrote: > CentOS 6 > GCC 4.8.0 custom build > > [aomelche@portland build]$ echo $PATH > > /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/aomelche/bin:/home/aomelche/gcc-4.8.0/bin > [aomelche@portland build]$ cmake .. > -- The C compiler identification is GNU > -- The CXX compiler identification is GNU > -- Check for working C compiler: /home/aomelche/gcc-4.8.0/bin/gcc > -- Check for working C compiler: /home/aomelche/gcc-4.8.0/bin/gcc -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Check for working CXX compiler: /home/aomelche/gcc-4.8.0/bin/c++ > -- Check for working CXX compiler: /home/aomelche/gcc-4.8.0/bin/c++ -- > works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- Looking for ICU libraries > -- ICU Found, building booster locale > -- Performing Test GCC_IS_GCC4 > -- Performing Test GCC_IS_GCC4 - Success > FATAL No library with socket found > FATAL No library with gethostbyname found > CMake Error at CMakeLists.txt:259 (message): > No library with dlopen found > > > -- Configuring incomplete, errors occurred! > > Everything was performed according the instructions at your link. > > Regards, > Alexey. > > On 5 July 2013 11:29, Artyom Beilis <art...@ya...> wrote: > >> you know it would be very helpful for YOU to give some details... >> >> What OS you are running, version, compiler, etc, full output etc. >> >> Also read: http://cppcms.com/wikipp/en/page/cppcms_1x_build >> >> Artyom Beilis >> -------------- >> CppCMS - C++ Web Framework: http://cppcms.com/ >> CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >> >> ------------------------------ >> *From:* Alexey Omelchenko <aom...@gm...> >> *To:* cpp...@li... >> *Sent:* Friday, July 5, 2013 9:54 AM >> *Subject:* [Cppcms-users] Building cppcms - prerequisites >> >> Hello, >> >> I tried to build the trunk following the instructions. >> cmake .. issued error: >> FATAL No library with socket found >> FATAL No library with gethostbyname found >> >> Installing SocketW resolved the problem. But since I have not found any >> reference to that library in the wiki, I am asking you to help me >> understand what is the right way to build the trunk. >> >> Regards, >> Alexey. >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Windows: >> >> Build for Windows Store. >> >> http://p.sf.net/sfu/windows-dev2dev >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Windows: >> >> Build for Windows Store. >> >> http://p.sf.net/sfu/windows-dev2dev >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Best regards, Shiv Shankar Dayal |
|
From: Alexey O. <aom...@gm...> - 2013-07-09 12:47:12
|
Thank you for your quick reply. Now after all I cannot reproduce the issue. I removed the SocketW library as irrelevant, deleted all cppcms folder, checked out the trunk again and repeated all the steps. The project now builds without errors. Kind regards, Alexey. On 5 July 2013 17:07, Shiv Shankar Dayal <shi...@gm...>wrote: > You should look at CMakeError.log which will tell you exactly what is the > problem. Try to use default compiler in /usr/bin/ instead from your home > director. Since, libnl.so is so basic that it seems your compiler settings > are not good. > > > On Fri, Jul 5, 2013 at 6:33 PM, Alexey Omelchenko <aom...@gm...>wrote: > >> CentOS 6 >> GCC 4.8.0 custom build >> >> [aomelche@portland build]$ echo $PATH >> >> /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/aomelche/bin:/home/aomelche/gcc-4.8.0/bin >> [aomelche@portland build]$ cmake .. >> -- The C compiler identification is GNU >> -- The CXX compiler identification is GNU >> -- Check for working C compiler: /home/aomelche/gcc-4.8.0/bin/gcc >> -- Check for working C compiler: /home/aomelche/gcc-4.8.0/bin/gcc -- works >> -- Detecting C compiler ABI info >> -- Detecting C compiler ABI info - done >> -- Check for working CXX compiler: /home/aomelche/gcc-4.8.0/bin/c++ >> -- Check for working CXX compiler: /home/aomelche/gcc-4.8.0/bin/c++ -- >> works >> -- Detecting CXX compiler ABI info >> -- Detecting CXX compiler ABI info - done >> -- Looking for ICU libraries >> -- ICU Found, building booster locale >> -- Performing Test GCC_IS_GCC4 >> -- Performing Test GCC_IS_GCC4 - Success >> FATAL No library with socket found >> FATAL No library with gethostbyname found >> CMake Error at CMakeLists.txt:259 (message): >> No library with dlopen found >> >> >> -- Configuring incomplete, errors occurred! >> >> Everything was performed according the instructions at your link. >> >> Regards, >> Alexey. >> >> On 5 July 2013 11:29, Artyom Beilis <art...@ya...> wrote: >> >>> you know it would be very helpful for YOU to give some details... >>> >>> What OS you are running, version, compiler, etc, full output etc. >>> >>> Also read: http://cppcms.com/wikipp/en/page/cppcms_1x_build >>> >>> Artyom Beilis >>> -------------- >>> CppCMS - C++ Web Framework: http://cppcms.com/ >>> CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >>> >>> ------------------------------ >>> *From:* Alexey Omelchenko <aom...@gm...> >>> *To:* cpp...@li... >>> *Sent:* Friday, July 5, 2013 9:54 AM >>> *Subject:* [Cppcms-users] Building cppcms - prerequisites >>> >>> Hello, >>> >>> I tried to build the trunk following the instructions. >>> cmake .. issued error: >>> FATAL No library with socket found >>> FATAL No library with gethostbyname found >>> >>> Installing SocketW resolved the problem. But since I have not found any >>> reference to that library in the wiki, I am asking you to help me >>> understand what is the right way to build the trunk. >>> >>> Regards, >>> Alexey. >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by Windows: >>> >>> Build for Windows Store. >>> >>> http://p.sf.net/sfu/windows-dev2dev >>> _______________________________________________ >>> Cppcms-users mailing list >>> Cpp...@li... >>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by Windows: >>> >>> Build for Windows Store. >>> >>> http://p.sf.net/sfu/windows-dev2dev >>> _______________________________________________ >>> Cppcms-users mailing list >>> Cpp...@li... >>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>> >>> >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Windows: >> >> Build for Windows Store. >> >> http://p.sf.net/sfu/windows-dev2dev >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > > -- > Best regards, > Shiv Shankar Dayal > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |