Thank you Mpaa and jayvdb for your instant help. I have installed libmysqlcppconn-dev but it hasn't solved the problem. I'm leaving oursql uninstalled for now. Sorry for the bad font in the last mail. Thank you so much.
On Tue, Oct 6, 2015 at 12:04 PM, Tanu Hari Dixit <[email protected]> wrote: > Thank you Mpaa and jayvdb for your instant help. > I have installed libmysqlcppconn-dev but it hasn't solved the problem. > I'm leaving oursql uninstalled for the now. > Thank you so much. > Tanu. > > On Tue, Oct 6, 2015 at 4:26 AM, <[email protected]> wrote: > >> You can remove oursql from requirements.txt. >> >> It is an optional dependency, and not frequently used. >> >> On Tue, 6 Oct 2015 06:05 Tanu Hari Dixit <[email protected]> wrote: >> >>> Hi Andre, >>> Thank you for the link. >>> I have been experiencing a lot of trouble while setting up dependencies >>> for pywikibot. While installing 'oursql' the terminal shows the following >>> error: >>> ----------------------------------------------------------- >>> mysql.h: No such file or directory >>> #include "mysql.h" >>> ^ >>> compilation terminated. >>> error: command 'gcc' failed with exit status 1 >>> >>> -------------------------------------------------------------------- >>> This was probably because i didn't have mysql-c++ connector installed. >>> Hence, I installed the mysql-server. It automatically installed >>> mysql-client. Further, I downloaded the tar ball for my 64 bit ubuntu 14.04 >>> system for mysql-c++ connector. I read the INSTALL file and it directed me >>> to download CMake and Boost. I did so and as the INSTALL file says: >>> "Run CMake to build a Makefile >>> me@host:/path/to/mysql-connector-cpp> cmake ." >>> So I change directory into the untarred folder ( of mysql-c++ connector >>> tarball ) and run the 'cmake .' command. However, my terminal shows that it >>> can't find any CMakeLists.txt files in the folder. When I searched for a >>> file with this name, I found that there are four of them in the 'boost' >>> folder at different levels (such as : >>> >>> /home/thd/Downloads/boost_1_59_0/libs/test/test/CMakeLists.txt >>> >>> /home/thd/Downloads/boost_1_59_0/libs/serialization/CMake/CMakeLists.txt >>> etc) >>> While this link ( >>> http://dev.mysql.com/doc/connector-cpp/en/connector-cpp-installation-source.html >>> ) suggests that I do the following: >>> >>> cmake . -DBOOST_ROOT:STRING=/usr/local/boost_1_40_0 >>> >>> but I can't seem to locate a folder named boost in /usr/local. Though, I >>> do find lots of .a and .so file with their names starting from libboost in >>> /usr/local/lib. Though, again it has no CMakeLists.txt file in it. >>> I'm unable to make this dependency work for me. It would be great if you >>> helped me in configuring this. I so want to contribute to pywikibot, and >>> learn in the process. >>> Thank you for bearing with me. >>> Tanu. >>> >>> >>> >>> On Thu, Sep 24, 2015 at 12:53 AM, Andre Klapper <[email protected]> >>> wrote: >>> >>>> Hi Tanu, >>>> >>>> thanks for your interest! >>>> >>>> On Thu, 2015-09-24 at 00:22 +0530, Tanu Hari Dixit wrote: >>>> > I am Tanu, a third year undergraduate from Indian Institute of >>>> > Technology, BHU, Varanasi, India. I have had prior experience >>>> > designing a REST API in Python for which I collaborated to use >>>> > various APIs available and Beautiful Soup as well as Flask. I want to >>>> > contribute to pywikibot and am aiming at GSoC'16. Where should I >>>> > start? What should I do? >>>> >>>> Have you checked out >>>> https://www.mediawiki.org/wiki/Annoying_little_bugs already? >>>> That page links to guides how to get started with development and it >>>> also links to Pywikibot tasks suited for new contributors. >>>> >>>> If something is unclear, please ask. Happy to help! :) >>>> >>>> Cheers, >>>> andre >>>> -- >>>> Andre Klapper | Wikimedia Bugwrangler >>>> http://blogs.gnome.org/aklapper/ >>>> >>>> >>>> >>>> _______________________________________________ >>>> pywikibot mailing list >>>> [email protected] >>>> https://lists.wikimedia.org/mailman/listinfo/pywikibot >>>> >>> >>> _______________________________________________ >>> pywikibot mailing list >>> [email protected] >>> https://lists.wikimedia.org/mailman/listinfo/pywikibot >>> >> >> _______________________________________________ >> pywikibot mailing list >> [email protected] >> https://lists.wikimedia.org/mailman/listinfo/pywikibot >> >> >
_______________________________________________ pywikibot mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot
