bitlbee / bitlbee-facebook

Facebook protocol plugin for BitlBee
GNU General Public License v2.0
279 stars 49 forks source link

No package 'bitlbee' found #186

Closed Atcold closed 5 years ago

Atcold commented 5 years ago

I've run make install for bitlbee, but it didn't copy the bitlbee.pc into $PREFIX/lib/pkgconfig/. Hence, bitlbee-facebook's autogen.sh does not find it, and exits with

checking for BITLBEE... no                                                                                                              
configure: error: Package requirements (bitlbee >= 3.4) were not met:                                                                   

No package 'bitlbee' found                                                                                                              

Consider adjusting the PKG_CONFIG_PATH environment variable if you                                                                      
installed software in a non-standard prefix.                 

Alternatively, you may set the environment variables BITLBEE_CFLAGS
and BITLBEE_LIBS to avoid the need to call pkg-config.                                                                                  
See the pkg-config man page for more details.                                                                                           

Am I missing anything?

Atcold commented 5 years ago

I copied that file by hand, and also run make install-dev to copy the header files. Oh, I actually found it in the README.md, but perhaps it's a little unclear?

dequis commented 5 years ago

Uhhh. Seems clear enough to me?

Make sure bitlbee and its headers have been installed. If bitlbee came from the distribution's repository, it will most likely need the development package, like bitlbee-dev or bitlbee-devel in the example above.

If bitlbee was built by hand (or alike via a script), ensure the make target install-dev is invoked. This target is not called by default, and will install the headers that are needed.

dgw commented 5 years ago

Looks fine. No documentation is 100% user-proof, after all.

dequis commented 5 years ago

¯(°_o)/¯

Atcold commented 5 years ago

Yeah, sorry about the noise.