Giter Club home page Giter Club logo

Comments (19)

Nguyenvandoi avatar Nguyenvandoi commented on May 29, 2024 2

You need install libcurl3-dev package
sudo apt-get install libcurl3-dev
or sudo apt-get install libmosquittopp-dev

from workspace-d.

Vild avatar Vild commented on May 29, 2024

Seems like you don't have curl installed.
Please install cur` and then try again.

from workspace-d.

llaine avatar llaine commented on May 29, 2024

Hi,

I do have curl installed that the problem ...

[llaine@localhost ~] $ curl --version
curl 7.43.0 (x86_64-redhat-linux-gnu) libcurl/7.43.0 NSS/3.22 Basic ECC zlib/1.2.8 libidn/1.32 libssh2/1.6.0 nghttp2/1.7.1

OS : Fedora 23 x86-64 with kernel 4.4.9-300

from workspace-d.

WebFreak001 avatar WebFreak001 commented on May 29, 2024

You need libcurl: ls /usr/lib | grep curl

from workspace-d.

llaine avatar llaine commented on May 29, 2024

Looks like this is already installed too

[llaine@localhost ~] $ ls /usr/lib | grep curl
libcurl.so.4
libcurl.so.4.3.0

from workspace-d.

Vild avatar Vild commented on May 29, 2024

Looks like you are missing a symlink for your curl.
This should fix it via a hacky fix: sudo ln -s /usr/lib/libcurl.so.4 /usr/lib/libcurl.so

from workspace-d.

Vild avatar Vild commented on May 29, 2024

Do you have libcurl-devel installed?
This should fix it, without that hacky symlink hack.

from workspace-d.

llaine avatar llaine commented on May 29, 2024

I tried your hacky fix, unfortunatly it didn't work

Linking...
/usr/bin/ld: escamotage incompatible /usr/lib/gcc/x86_64-redhat-linux/5.3.1/../../../libcurl.so lors de la recherche de -lcurl
/usr/bin/ld: escamotage incompatible /lib/libcurl.so lors de la recherche de -lcurl
/usr/bin/ld: escamotage incompatible /usr/lib/libcurl.so lors de la recherche de -lcurl
/usr/bin/ld: ne peut trouver -lcurl

from workspace-d.

Vild avatar Vild commented on May 29, 2024

Looks like installing libcurl-devel should fix it.

from workspace-d.

llaine avatar llaine commented on May 29, 2024

@Vild installing the missing dependency solved the problem just fine!

But then another error message appear during the compilation, after running

dub build --build=release

src/analysis/lambda_return_check.d(40,29): Error: no property 'line' for type 'const(FunctionLiteralExpression)'
src/analysis/lambda_return_check.d(40,40): Error: no property 'column' for type 'const(FunctionLiteralExpression)'
dmd failed with exit code 1.
Error while compiling Dscanner.
Program exited with code 1

from workspace-d.

WebFreak001 avatar WebFreak001 commented on May 29, 2024

dmd --version?

from workspace-d.

llaine avatar llaine commented on May 29, 2024

DMD64 D Compiler v2.071.0

from workspace-d.

WebFreak001 avatar WebFreak001 commented on May 29, 2024

Wait Dscanner? You sure you didn't accidentally switch projects?

from workspace-d.

llaine avatar llaine commented on May 29, 2024

Well to be honest I'm trying to build the https://github.com/Pure-D/workspace-d-installer.
Whether I tried to compile this one or the other (workspace-d-installer) I get the same issue so ...
But I guess it's related no?

from workspace-d.

WebFreak001 avatar WebFreak001 commented on May 29, 2024

Related to dlang-community/D-Scanner#350, until that is fixed the installer won't work

from workspace-d.

WebFreak001 avatar WebFreak001 commented on May 29, 2024

Hacky Fix: select 1,3 instead of all on installation instead

from workspace-d.

llaine avatar llaine commented on May 29, 2024

It worked thank you @WebFreak001

from workspace-d.

dAnjou avatar dAnjou commented on May 29, 2024

The dependency on libcurl-devel should be mentioned in the README.

from workspace-d.

WebFreak001 avatar WebFreak001 commented on May 29, 2024

you certainly don't need to install a full MQTT broker, just libcurl3-dev is enough.

That said this issue doesn't really apply anymore as you don't need dfmt or dscanner anymore

from workspace-d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.