building libadblockplus on linux shell

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

building libadblockplus on linux shell

Post by Olivius »

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 !
fhd
Posts: 119
Joined: Mon Sep 03, 2012 5:29 pm

Re: building libadblockplus on linux shell

Post by fhd »

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
    
Locked