fcgi.pc file not provided

Bug #1919016 reported by Igbaäl
8
This bug affects 1 person
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://github.com/FastCGI-Archives/fcgi2.git
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/applications/$(TARGET).c $(OBJECTS) $(LDFLAGS) -o $(BINDIR)/$(TARGET)

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,

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

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!

Changed in libfcgi (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

I'm setting the status to Triaged. You don't need to set it back to New. Thanks!

Changed in libfcgi (Ubuntu):
status: Incomplete → Triaged
Changed in libfcgi (Ubuntu Focal):
status: New → Triaged
Changed in libfcgi (Ubuntu Groovy):
status: New → Triaged
Changed in libfcgi (Ubuntu Focal):
importance: Undecided → Low
Changed in libfcgi (Ubuntu Groovy):
importance: Undecided → Low
Changed in libfcgi (Ubuntu):
status: Triaged → Invalid
Revision history for this message
Igbaäl (cerebro-alexiel) wrote :

Hi Sergio,

Thank you for your very quick answer!

I was referring to the groovy package in my next to last sentence so I'm using Ubuntu Groovy.
I just tried the Hirsute libfcgi-dev package and indeed, it does provide the fcgi.pc file.

Since I'm the only one affected by this "bug" and that I can switch to Hirsute version easilly (I'm using a custom Docker image), it does not seem useful to put any effort on this.

You can then close this bug and only re-open it if more people complain.

Thanks again for your time,
Best regards!

Changed in libfcgi (Ubuntu Groovy):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.