building libadblockplus on linux shell

Posting here is no longer possible, please use the corresponding product forum.

building libadblockplus on linux shell

Postby Olivius » Wed Aug 07, 2013 11:34 am

HI,
the build instructions for the c++ wrapper libadblockplus seem uncomplete.
The reopository is missing the depending thirdparty (sub)modules after checkout. I additionally cloned adblockplus/gyp and adblockplus/v8 to the thirdparty folders and started building. Shouldn't these be included in the checkout as git submodules ? I did 'git submodules init' with an empty result.

Building fails after short after building v8 with following message:
Code: Select all
make[1]: *** Keine Regel vorhanden, um das Target »../adblockplus/lib/filterNotifier.js«,
  benötigt von »out/Debug/obj.target/libadblockplus/geni/adblockplus.js.cpp«, zu erstellen.  Schluss.
make[1]: Leaving directory `/home/oli/src/libadblockplus_lates/build'
make: *** [all] Fehler 2



pls see attached log:http://pastebin.com/Sb7NGP7E

System: amd64, gentoo, python2.7 (curl is installed)

What am i missing ? I would appreciated any help. Thank you !
Olivius
 

Re: building libadblockplus on linux shell

Postby fhd » Thu Aug 15, 2013 10:03 am

Olivius wrote:The reopository is missing the depending thirdparty (sub)modules after checkout. I additionally cloned adblockplus/gyp and adblockplus/v8 to the thirdparty folders and started building. Shouldn't these be included in the checkout as git submodules ? I did 'git submodules init' with an empty result.


Yes, they should be, but unfortunately they aren't at this point :( The problem is that this is a Mercurial project which we converted to Git, and Mercurial subrepositories and Git submodules aren't very compatible. This affects most of our projects on GitHub, we're looking into a VCS-independent way of dealing with this.

In the meantime, you have two options:

  • Just use Mercurial, which will fetch everything:
    Code: Select all
    hg clone https://hg.adblockplus.org/libadblockplus
  • Clone the necessary dependencies manually:
    Code: Select all
    cd libadblockplus
    git clone https://github.com/adblockplus/adblockplus
    cd third_party
    git clone https://github.com/adblockplus/googletest
    git clone https://github.com/adblockplus/gyp
    git clone https://github.com/adblockplus/v8
fhd
ABP CTO
 
Posts: 119
Joined: Mon Sep 03, 2012 5:29 pm


Return to Bug reports

Who is online

Users browsing this forum: No registered users and 1 guest