.pc files in firefox-2-dev are broken

Bug #346506 reported by DmitryKX on 2009-03-21
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)

Bug Description

$ pkg-config firefox-gtkmozembed --cflags
-I/usr/include/firefox-2/gtkembedmoz -I/usr/include/firefox-2 -I/usr/include/firefox-2/xpcom -I/usr/include/firefox-2/string -I/usr/include/nspr

In the same time:

$ LC_ALL=C ls /usr/include/firefox-2
ls: cannot access /usr/include/firefox-2: No such file or directory

It means that if you try to compile any project using these flags, you will fail.

To fix this problem in runtime one should create symlinks:

# ln -s /usr/include/firefox /usr/include/firefox-2
# ln -s /usr/lib/firefox /usr/lib/firefox-2
# ln -s /usr/share/idl/firefox /usr/share/idl/firefox-2

Alexander Sack (asac) wrote :

Yes, its probably a bug, but we don't support firefox 2 in any of our recent ubuntu releases. We only provided the hardy package as a transitional option for users that needed extensions not yet ported to firefox 3 when we initially released hardy. However, ffox 3 has reached enough adaption and ffox 2 has been EOL for a while now. you should build against xulrunner-1.9.

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

Other bug subscribers