fcgi.pc file not provided
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libfcgi (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
Focal |
Triaged
|
Low
|
Unassigned | ||
Groovy |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Hi,
I'm currently compiling the fcgi2 library from master using the following instructions:
git clone https:/
cd fcgi2
./autogen.sh && ./configure --prefix=/usr && make && make install
It works fine and then I can link it with my application using a Makefile and something like:
CFLAGS += `pkg-config --cflags fcgi`
LDFLAGS += `pkg-config --libs fcgi`
application:
@$(LINKER) $(CFLAGS) src/application
Now, I would like to use the libfcgi-dev package for various reasons.
The groovy libfcgi2-dev package does not provide a fcgi.pc file hence pkg-config fails.
Would it be possible to update your building/packaging script to provide this file?
Best regards,
Changed in libfcgi (Ubuntu Groovy): | |
status: | Triaged → Won't Fix |
Thank you for taking the time to file a bug report.
It is not clear to me which Ubuntu release you are using. I know that libfcgi-dev on Hirsute does have the .pc file, so I am assuming you are probably using Focal or Groovy.
I think this is a sensible request, but unfortunately the libfcgi version we ship on Focal does not provide an fcgi.pc file. In theory we could maintain our own Ubuntu-specific fcgi.pc file, but I think it would be easier for you to just adjust the Makefile and manually set LDFLAGS with the correct values for libfcgi.
I am marking this bug as Incomplete for now because we need to know your Ubuntu release first. When you provide it, please set this bug status back to "New". Thank you!