Hi Szemere,

Unfortunately, I am unable to reproduce this error on Ubuntu 10.10 here.
Using the same commands that you did, it compiles fine.

I'm using the latest git, with the following commit as the latest:

   commit 8c27150a79d045ec2019b8977692731d57d24400
   Author: Chris Frey <cdf...@foursquare.net>
   Date:   Tue Jan 18 21:46:38 2011 -0500

       lib: libbarryalx depends on libbarry for the ErrnoError exception


Can you make sure that you don't have any other copies of Barry installed,
and no binary packages from Ubuntu?

        dpkg -l | grep barry

The above should show nothing.


On my system, libtool seems to change the -lbarrybackup into the direct
path name:

        libtool: link: g++ -Wall -g -g -O2 -o .libs/barrybackup main.o 
BackupWindow.o DatabaseSelectDlg.o PasswordDlg.o PromptDlg.o ConfigDlg.o 
DeviceBus.o DeviceIface.o Thread.o util.o -pthread  -L/home/cdfrey/barry/src 
-L/usr/local/lib /home/cdfrey/barry/src/.libs/libbarrybackup.so 
/home/cdfrey/barry/src/.libs/libbarry.so /usr/lib/libglademm-2.4.so 
/usr/lib/libgtkmm-2.4.so /usr/lib/libglade-2.0.so /usr/lib/libatkmm-1.6.so 
/usr/lib/libgdkmm-2.4.so /usr/lib/libgiomm-2.4.so /usr/lib/libpangomm-1.4.so 
/usr/lib/libglibmm-2.4.so /usr/lib/libcairomm-1.0.so /usr/lib/libsigc-2.0.so 
/usr/lib/libgtk-x11-2.0.so /usr/lib/libxml2.so /usr/lib/libgdk-x11-2.0.so 
/usr/lib/libatk-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libpangoft2-1.0.so 
/usr/lib/libpangocairo-1.0.so -lgdk_pixbuf-2.0 -lm /usr/lib/libcairo.so -lpng12 
/usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lfontconfig 
/usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so 
/usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so -pthread

But in your output, this is not the case.  I'm not sure why this is.

- Chris



On Thu, Jan 20, 2011 at 01:38:53PM +0000, Szemere Szemere wrote:
> I've followed the barry build instructions on
> http://www.progweb.com/en/2010/12/blackberry-torch-sous-linux/
> 
> and managed to get:
> 
> ./configure --enable-gui
> 
> working after installing a whole bunch of packages. I'm on Ubuntu 10.10
> 
> But I fail at the "make" stage, with
> libtool: link: g++ -Wall -g -g -O2 -o .libs/barrybackup main.o
> BackupWindow.o DatabaseSelectDlg.o PasswordDlg.o PromptDlg.o ConfigDlg.o
> DeviceBus.o DeviceIface.o Thread.o util.o -pthread
> -L/usr/local/src/blackberry/barry/src -L/usr/local/lib -lbarrybackup
> /usr/local/src/blackberry/barry/src/.libs/libbarry.so /usr/lib/
> libglademm-2.4.so /usr/lib/libgtkmm-2.4.so /usr/lib/libglade-2.0.so/usr/lib/
> libatkmm-1.6.so /usr/lib/libgdkmm-2.4.so /usr/lib/libgiomm-2.4.so /usr/lib/
> libpangomm-1.4.so /usr/lib/libglibmm-2.4.so 
> /usr/lib/libcairomm-1.0.so/usr/lib/
> libsigc-2.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libxml2.so /usr/lib/
> libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgio-2.0.so /usr/lib/
> libpangoft2-1.0.so /usr/lib/libpangocairo-1.0.so -lgdk_pixbuf-2.0 -lm
> /usr/lib/libcairo.so -lpng12
> /usr/lib/libpango-1.0.so/usr/lib/libfreetype.so -lfontconfig /usr/lib/
> libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libgthread-2.0.so -lrt
> /usr/lib/libglib-2.0.so -pthread
> /usr/bin/ld: cannot find -lbarrybackup
> collect2: ld returned 1 exit status
> make[4]: *** [barrybackup] Error 1
> make[4]: Leaving directory `/usr/local/src/blackberry/barry/gui/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/src/blackberry/barry/gui'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/local/src/blackberry/barry/gui'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/blackberry/barry'
> make: *** [all] Error 2
> 
> Any suggestions as to why that's happening, what to try next?

> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand 
> malware threats, the impact they can have on your business, and how you 
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Barry-devel mailing list
> Barry-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/barry-devel


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to