GithubHelp home page GithubHelp logo

Comments (6)

Alcaro avatar Alcaro commented on July 20, 2024

Does it work better if you pass CFLAGS= instead of CLFAGS=?

from bitlbee-discord.

sm00th avatar sm00th commented on July 20, 2024

./configure shouldn't have syntax errors so maybe it got corrupted or wasn't built properly in the first place. Try rebuilding it with ./autogen.sh and make sure there are no errors on that step.

from bitlbee-discord.

ikwyl6 avatar ikwyl6 commented on July 20, 2024

@Alcaro oops.. I thought you were joking but you weren't. my bad! And I did have a typo in there like you pointed out but I did change it on command line so it says CFLAGS (doh!) and it still gives the same error (the two lines that reference line 12538).
@sm00th I get the same error if I use your git repo and run the steps or the arch linux AUR PKGBUILD so I'm at a loss.
I did an ./autogen.sh and this is output (no errors):
https://pastebin.com/ALpfjxWK
I re-ran ./configure after re-running autogen.sh and I get the same output (line 12538):
https://pastebin.com/gLBR2A1V
and running it with the CFLAGS and LDFLAGS gives same result.
I will try downloading the v3.6 version of bitlbee and compiling the libraries from that and linking to that directory to see if it works.. unless there are some other ideas...

from bitlbee-discord.

sm00th avatar sm00th commented on July 20, 2024

Make sure you have pkgconfig installed and that it installed the following file: /usr/share/aclocal/pkg.m4. And after that is sorted re-do autogen (or start the aur-build from scratch).

from bitlbee-discord.

ikwyl6 avatar ikwyl6 commented on July 20, 2024

looks like I needed pkg-config installed. Re-ran ./autogen.sh, ./configure and make, sudo make install and it compiled fine. thanks for the help!

from bitlbee-discord.

ikwyl6 avatar ikwyl6 commented on July 20, 2024

just for future.. I don't think bitlbee is still offered by pacman so I had to compile it myself and then had to do the following for bitlbee-discord to get it to compile:

BITLBEE_CFLAGS=-I/home/alarm/dev/bitlbee-aur/bitlbee-3.6 -I/home/alarm/dev/bitlbee-aur/bitlbee-3.6/protocols -I/home/alarm/dev/bitlbee-aur/bitlbee-3.6/lib BITLBEE_LIBS=-L/home/alarm/dev/bitlbee-aur/bitlbee-3.6 ./configure --with-plugindir=/var/lib/bitlbee

Had to use absolute directories for BITLBEE_CFLAGS and BITLBEE_LIBS and not relative and where --with-plugindir was the plugindir that I had used for bitlbee compile time.

from bitlbee-discord.

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.