bugArX revision control system - Bugs: bug #16309, configure.ac should check for...

 
 

bug #16309: configure.ac should check for gnome-vfs-2.0 up-front (patch included)

Submitted by:  Alan D. Salewski <ads>
Submitted on:  Sun 09 Apr 2006 08:19:03 AM UTC  
 
Severity: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 25 Aug 2006 06:41:38 PM UTC, comment #1:

Thanks. Fixed in arx.3.0,37. It should be in arx 3.0.

Walter Landry <landry>
Project Administrator
Sun 09 Apr 2006 08:19:03 AM UTC, original submission:

Tonight I compiled arx from the 2.2.4 source tarball. The 'configure' step completes successfully, but the 'make' step failed with the following error message:

$ make
python2.4 tools/scons/scons.py
scons: Reading SConscript files ...
Package gnome-vfs-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gnome-vfs-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gnome-vfs-2.0' found
Package gnome-vfs-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gnome-vfs-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gnome-vfs-2.0' found
IndexError: string index out of range:
File "SConstruct", line 58:
if not(gnomevfs_version[0]>'2' or (gnomevfs_version[0]=='2' and gnomevfs_version[2]>='8')):
make: *** [all] Error 2

The cause, in this case, is that my Debian x86_64 box did not have the 'libgnomevfs2-dev' package installed; installing the package allows the compilation to complete.

However, I do not think the 'configure' step should complete if pkg-config is unable to find gnome-vfs-2.0; when the 'configure' step completes, the presumption is that the build process has found all of the pieces it will need during compilation.

The attached tarball (against the head of the ArX repository, /not/ the 2.2.4 source tarball) contains a very simple patch to do this check at 'configure' time; please apply it if you agree that this is the right thing to do.

Thanks,
-Al

Alan D. Salewski <ads>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #9747:  arx-patch-pkgconfig-gnome-vfs-check.tar.gz added by ads (874B - application/x-tar - patch to configure.ac: verify that pkg-config knows about gnome-vfs-2.0 at configure time)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 25 Aug 2006 06:41:38 PM UTClandryStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Sun 09 Apr 2006 08:19:03 AM UTCadsAttached File-=>Added arx-patch-pkgconfig-gnome-vfs-check.tar.gz, #9747

Back to the top


Powered by Savane 3.1-cleanup1