bugGnash - The GNU Flash player - Bugs: bug #31989, Fails to compile gnash 0.8.8 on...

 
 

bug #31989: Fails to compile gnash 0.8.8 on lfs from source, but using pkgsrc header/libs

Submitted by:  None
Submitted on:  Mon 27 Dec 2010 08:33:06 AM UTC  
 
Category: buildSeverity: 3 - Normal
Release: 0.8.8Status: Fixed
Privacy: PublicAssigned to: Rob Savoye <rsavoye>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 26 Apr 2011 03:17:00 PM UTC, comment #3:

As far as I can tell, this is fixed in both 0.8.9 and master. Before 0.8.8 the plugin didn't use boost, now it does.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Sun 24 Apr 2011 04:15:19 PM UTC, comment #2:

The problem reported I think was fixed when BOOST_CFLAGS was added to Makefile.am in plugin/npapi.

rsavoye, note that bug reporter is unlikely to have received your message because the bug was reported anonymously.

Bastiaan Jacques <bjacques>
Project Member
Tue 28 Dec 2010 01:31:28 AM UTC, comment #1:

The attached patch will make configure look in /usr/pkg for headers and libraries if they aren't found anywhere else. This will make all the --with-* options unnecessary. If format.hpp is installed under /usr/pkg/include/boost/, this should fix that also.

I don't know about pkgsrc, but other distributions have each boost library in a separate package.

(file #22302)

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Mon 27 Dec 2010 08:33:06 AM UTC, original submission:

I use lfs + pkgsrc, but gnash is compiled manually since it is not a recent version on pkgsrc, but fails to compile.

(version of boost)
$ pkg_info
boost-jam-1.44.0
boost-libs-1.44.0nb1
boost-headers-1.44.0 (it contains format.hpp etc)
boost-build-1.44.0

After a long time compiling, finally I get this error.

My configure:
./configure --prefix=/opt/gnash-0.8.8 --enable-gui=gtk --with-boost-incl=/usr/pkg/include --with-agg-incl=/usr/pkg/include/agg2 --with-agg-lib=/usr/pkg/lib --with-ffmpeg-incl=/usr/pkg/include --with-ffmpeg-lib=/usr/pkg/lib --with-cairo-incl=/usr/pkg/include/cairo --with-cairo-lib=/usr/pkg/lib

..... (only Warning about docbook2)

make

.....
make[3]: Entering directory `/usr/local/src/gnash-0.8.8/plugin/npapi'
make[4]: Entering directory `/usr/local/src/gnash-0.8.8/plugin/npapi'
CXX libgnashplugin_la-plugin.lo
plugin.cpp:37:28: fatal error: boost/format.hpp: No such file or directory
compilation terminated.
make[4]: *** [libgnashplugin_la-plugin.lo] Error 1
make[4]: Leaving directory `/usr/local/src/gnash-0.8.8/plugin/npapi'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/gnash-0.8.8/plugin/npapi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/gnash-0.8.8/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gnash-0.8.8'
make: *** [all] Error 2

File exist, also make compiles fines lot of .hpp before.

ls -l /usr/pkg/include/boost/format.hpp
-rw-r--r-- 1 root root 2179 Dec 27 08:56 /usr/pkg/include/boost/format.hpp

Thank you

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #22302:  pkgsrk.patch added by rsavoye (2KiB - text/x-patch - add /usr/pkg to default root search path)
file #22296:  config.log added by None (256KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bjacques (Posted a comment)
  • -unavailable- added by rsavoye (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 26 Apr 2011 03:17:00 PM UTCrsavoyeOpen/ClosedOpen=>Closed
    Sun 24 Apr 2011 04:15:19 PM UTCbjacquesStatusReady For Test=>Fixed
      Assigned toNone=>rsavoye
    Tue 28 Dec 2010 01:31:28 AM UTCrsavoyeAttached File-=>Added pkgsrk.patch, #22302
      StatusNone=>Ready For Test
    Mon 27 Dec 2010 08:33:06 AM UTCNoneAttached File-=>Added config.log, #22296

    Back to the top


    Powered by Savane 3.1-cleanup1