bugGnash - The GNU Flash player - Bugs: bug #22973, configure fail on boost

 
 

bug #22973: configure fail on boost

Submitted by:  Hubert Figuiere <hub>
Submitted on:  Fri 18 Apr 2008 06:46:25 PM UTC  
 
Category: buildSeverity: 5 - Blocker
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Russ Nelson <nelsonrn>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Thu 08 May 2008 09:16:15 PM UTC, comment #11:

Yes, it configures for me now, even with the two files I described earlier in my home directory (which is ../.. from the gnash build directory).

Chris Palmer <cpalmer>
Fri 02 May 2008 12:16:39 PM UTC, comment #10:

Chris, could you test this within a week ?

Sandro Santilli <strk>
Project Member
Wed 30 Apr 2008 07:27:10 PM UTC, comment #9:

the fix works for me.

Hubert Figuiere <hub>
Wed 30 Apr 2008 03:54:14 PM UTC, comment #8:

Easily fixed. Let's try it and see if anybody files a bug.

Russ Nelson <nelsonrn>In charge of this item.
Wed 30 Apr 2008 03:27:09 PM UTC, comment #7:

Hum... the .. and ../.. were for if there was a fresh build in the same tree, (common for other GNU projects), but I think for the dependencies Gnash looks for, this is unnecessary. My guess is you could stop looking in those relative dirs for headers and libs without breaking anything.

Rob Savoye <rsavoye>
Project Administrator
Wed 30 Apr 2008 03:22:40 PM UTC, comment #6:

With help from Hubert, I have confirmed that the boost header detection algorithm is b0rked. It looks in macros/incllist for
.../boost*, incllist includes .. and ../.., and if any file starting with boost is in those upper-level directories, the algorithm breaks.

I could make is more robust by making sure that the file is a directory, but the algorithm itself would still be incorrect.

Russ Nelson <nelsonrn>In charge of this item.
Wed 23 Apr 2008 11:04:47 PM UTC, comment #5:

I installed a fresh copy of OpenSUSE, and followed these instructions: http://wiki.gnashdev.org/Building_on_Open_SUSE_10.3
configure found boost just fine, and it's building as I write this. I'll fetch a copy of Fedora 8 and see if I can reproduce Chris's problem. In the meantime I've marked this "works for me".

Chris, were you building gnash in ~/gnash ?

Russ Nelson <nelsonrn>In charge of this item.
Wed 23 Apr 2008 07:20:24 AM UTC, comment #4:

nelson, see original submission ?

Sandro Santilli <strk>
Project Member
Wed 23 Apr 2008 05:46:23 AM UTC, comment #3:

The file has non-zero size if and only if the nogo variable would be set. Please explain your concern.

Russ Nelson <nelsonrn>In charge of this item.
Mon 21 Apr 2008 01:47:16 AM UTC, comment #2:

I also get messages telling me to install boost, using Fedora 8 x86_64. The configure script seems to fail when searching for boost:

checking for boost header... ./configure: line 54280: cd: ../../boost.x86_64.txt: Not a directory

On inspection I had two files called boost.x86_64.txt and boost.i386.txt in my home directory (which isn't where I'm building gnash, by the way), and these were stopping the build from working. I don't know whether that's a help or not.

Chris Palmer <cpalmer>
Fri 18 Apr 2008 06:49:06 PM UTC, comment #1:

Nelson, you can't rely on the presence of that
file to tell if configure was successful or not.
Use the 'nogo' variable ONLY !

Sandro Santilli <strk>
Project Member
Fri 18 Apr 2008 06:46:25 PM UTC, original submission:

configure fail on boost

this is using CVS HEAD
openSUSE 10.3
boost-devel is installed.

I get the following message:

Gnash should still compile even with these warnings. If it doesn't,
report the warnings as a bug.

ERROR: The BOOST detail/lightweight_mutex.hpp header file is needed!
Install it from http://boost.org
or from a Boost development package
ERROR: The BOOST thread/thread.hpp header file is needed!
Install it from http://boost.org
or from a Boost development package
ERROR: The BOOST multi_index_container.hpp header file is needed!
Install it from http://boost.org
or from a Boost development package
ERROR: The BOOST multi_index/key_extractors.hpp header file is needed!
Install it from http://boost.org
or from a Boost development package
ERROR: The BOOST thread/mutex.hpp header file is needed!
Install it from http://boost.org
or from a Boost development package
configure: error: Please install required packages

But
-rw-r--r-- 1 root root 1308 2005-04-02 08:12 /usr/include/boost/detail/lightweight_mutex.hpp
-rw-r--r-- 1 root root 2182 2005-07-14 11:46 /usr/include/boost/thread/thread.hpp

etc.

Hubert Figuiere <hub>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #15479:  config.log added by hub (180KiB - text/x-log - config.log file)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rsavoye (Posted a comment)
  • -unavailable- added by nelsonrn (Posted a comment)
  • -unavailable- added by cpalmer (Posted a comment)
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by hub (Submitted 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 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 16 May 2008 07:53:53 AM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Wed 30 Apr 2008 07:02:24 PM UTCnelsonrnStatusFixed=>Ready For Test
    Wed 30 Apr 2008 03:54:14 PM UTCnelsonrnStatusIn Progress=>Fixed
    Wed 30 Apr 2008 03:22:40 PM UTCnelsonrnStatusWorks For Me=>In Progress
    Wed 23 Apr 2008 11:04:47 PM UTCnelsonrnStatusNone=>Works For Me
    Fri 18 Apr 2008 06:49:06 PM UTCstrkSeverity3 - Normal=>5 - Blocker
      Assigned toNone=>nelsonrn
    Fri 18 Apr 2008 06:46:25 PM UTChubAttached File-=>Added config.log, #15479

    Back to the top


    Powered by Savane 3.1-cleanup1