ZedTuX,

if you're on a 64-bit architecture and want to build the Glade library, 
you need to build libraw with the following command:

make CFLAGS='-O4 -I. -w -fPIC'

We've been meaning to add this to our build instructions but haven't 
gotten around to doing that yet (see 
http://trac.yorba.org/ticket/1695).  I hope this helps -

adam

On 08/08/2010 01:53 PM, ZedTuX wrote:
> Hi all,
>
> I'm still working of ticket #1702, and the first part of it is done.
> Im now looking to implement it in Shotwell, mean I have to work on GUI
> and Vala code.
>
> I'm using Subversion to get always the latest code. I start the sw-glade
> script and it return me this message:
>
> Run './configure --enable-build-for-glade' and then 'make' to generate
> shared library.
>
> So, I've execute the configure and then the make. And here is my
> problem, the make command failed with this error:
>
> cc src/main.o src/AppWindow.o src/CollectionPage.o src/Thumbnail.o
> src/DatabaseTables.o src/ThumbnailCache.o src/image_util.o
> src/CheckerboardLayout.o src/PhotoPage.o src/Page.o src/ImportPage.o
> src/GPhoto.o src/SortedList.o src/EventsDirectoryPage.o src/Dimensions.o
> src/Box.o src/Photo.o src/Orientation.o src/util.o src/BatchImport.o
> src/Dialogs.o src/Resources.o src/Debug.o src/Sidebar.o
> src/ColorTransformation.o src/EditingTools.o src/DataObject.o
> src/DataCollection.o src/LibraryWindow.o src/CameraTable.o
> src/DirectWindow.o src/Properties.o src/CustomComponents.o src/Config.o
> src/Event.o src/International.o src/Workers.o src/system.o src/AppDirs.o
> src/PixbufCache.o src/WebConnectors.o src/FacebookConnector.o
> src/CommandManager.o src/Commands.o src/SlideshowPage.o
> src/LibraryFiles.o src/FlickrConnector.o src/Printing.o src/Tag.o
> src/TagPage.o src/PicasaConnector.o src/Screensaver.o
> src/PhotoFileAdapter.o src/PhotoFileFormat.o src/PhotoFileSniffer.o
> src/PhotoMetadata.o src/GRaw.o src/GdkSupport.o src/JfifSupport.o
> src/RawSupport.o src/MimicManager.o src/TrashPage.o src/PngSupport.o
> src/PhotoExporter.o src/DirectoryMonitor.o src/LibraryMonitor.o
> src/OfflinePage.o src/LastImportPage.o src/AlienDatabase.o
> src/AlienDatabaseImportJob.o src/AlienDatabaseImportDialog.o
> src/FSpotDatabaseDriver.o src/FSpotDatabaseTables.o -O2 -g -pipe -fPIC
> -DG_UDEV_API_IS_SUBJECT_TO_CHANGE  `pkg-config --libs atk gdk-2.0
> gee-1.0 gtk+-2.0 glib-2.0 libexif sqlite3 gexiv2 gconf-2.0 libgphoto2
> libsoup-2.4 libxml-2.0 unique-1.0 webkit-1.0 gudev-1.0 dbus-glib-1
> gdk-x11-2.0 gthread-2.0` `./libraw-config --libs` -export-dynamic
> -shared -o libshotwell.so
> /usr/bin/ld: /usr/local/lib/libraw_r.a(libraw_cxx_mt.o): relocation
> R_X86_64_32 against `.rodata.str1.1' can not be used when making a
> shared object; recompile with -fPIC
> /usr/local/lib/libraw_r.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make: *** [libshotwell.so] Erreur 1
>
> So, I have downloaded the latest version of LibRaw, compile it and
> installed it (make, make install), but still same issue.
>
> Could you help me please ?
>
> _______________________________________________
> Shotwell mailing list
> [email protected]
> http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell
>
>    

_______________________________________________
Shotwell mailing list
[email protected]
http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell

Reply via email to