Hi Pierre,

If you are using Ubuntu/Debian then I think you need to installed the -dev version of the dependencies. These versions of the packages come with all the necessary header files.

For example, the dependencies page lists libboost. On Ubuntu 9.10 you would install:

    apt-get install libboost-dev

The same goes for other packages.  For example "libgtkmm-2.4-dev" for gtkmm.

To compile from the latest git source, the following list of packages are *hopefully* all you need (Ubuntu 9.10).

# compiler, and stuff
apt-get install build-essential

# to generate configure/makefiles when building from GIT
# not needed if you have a source tarball
apt-get install libtool automake autoconf

apt-get install libboost-dev
apt-get install libusb-dev
apt-get install libgtkmm-2.4-dev
apt-get install libglademm-2.4-dev
apt-get install libglibmm-2.4-dev
apt-get install libtar-dev
apt-get install zlib1g-dev

These dependencies will give you the backupgui and boost serialization support. For opensync support, there is a host of other packages that must be installed (sorry I don't have any experience hacking the opensync support).

If you just want a minimal build of barry then you can get away with:

apt-get install build-essential
apt-get install libusb-dev
apt-get install zlib1g-dev

And finally, if you are building from GIT you will need to generate the configure script first.

git clone git://repo.or.cz/barry.git
cd barry
./buildgen.sh

On 02/01/2010 04:49 PM, Pierre Pietri wrote:
Hello someone,

I'm struggling to initiate a development environment for Barry, which seems a little harder than I foreseen.
Be aware I'm just a beginner in GNU/Sourceforge, etc.
I'm conscious I lack a basic culture (mine stands rather in mainframe/Microsoft developments in management softwares, which also offers some complicated issues, but of a completely different nature).

I have (a few) problems with some items of the dependency page :

Example (the worst, I hope): "boost version 1.33 or higher"
   Synaptic does not propose any "boost*" package,
   though numerous "libboost*" ones, with such versions as
   1.35, 1.36 etc.

   According to http://www.boost.org/ I do:
   (the following is a capture of my "log book")
_______________________________________________

#    1 - create a ~/dev-Linux_boost directory, CD to it,
#    2 - then :
pie...@lutwidge:~/dev-Linux_boost$ tar --bzip2 -xf "/media/disk/PIETRI 01 interne/Pierre Pietri/PP/DeveloppementLinux/boost/boost_1_41_0.tar.bz2"
pie...@lutwidge:~/dev-Linux_boost$
#    Then, looking further at unix-variants.html#get-boost,
# I see that "(good news !!!), "often, there's nothing to build." (Header only libraries).
#    "The only Boost libraries that must be built separately are:"
#     (here follows a zillion library names)...
#    What do I need exactly to do the job ?
#    I examine the "Easy build and install":
pie...@lutwidge:~/dev-Linux_boost$ cd /home/pierre/dev-Linux_boost/boost_1_41_0
pie...@lutwidge:~/dev-Linux_boost/boost_1_41_0$  ./bootstrap.sh --help
`./bootstrap.sh' prepares Boost for building on a few kinds of systems.

Usage: ./bootstrap.sh [OPTION]...

Defaults for the options are specified in brackets.

Configuration:
  -h, --help                display this help and exit
  --with-bjam=BJAM          use existing Boost.Jam executable (bjam)
                            [automatically built]
  --with-toolset=TOOLSET    use specific Boost.Build toolset
                            [automatically detected]
  --show-libraries          show the set of libraries that require build
                            and installation steps (i.e., those libraries
                            that can be used with --with-libraries or
                            --without-libraries), then exit
  --with-libraries=list     build only a particular set of libraries,
describing using either a comma-separated list of
                            library names or "all"
                            [all]
  --without-libraries=list  build all libraries except the ones listed []
  --with-icu                enable Unicode/ICU support in Regex
                            [automatically detected]
  --without-icu             disable Unicode/ICU support in Regex
--with-icu=DIR specify the root of the ICU library installation
                            and enable Unicode/ICU support in Regex
                            [automatically detected]
  --with-python=PYTHON      specify the Python executable [python]
  --with-python-root=DIR    specify the root of the Python installation
                            [automatically detected]
  --with-python-version=X.Y specify the Python version as X.Y
                            [automatically detected]

Installation directories:
  --prefix=PREFIX           install Boost into the given PREFIX
                            [/usr/local]
  --exec-prefix=EPREFIX     install Boost binaries into the given EPREFIX
                            [PREFIX]

More precise control over installation directories:
  --libdir=DIR              install libraries here [EPREFIX/lib]
  --includedir=DIR          install headers here [PREFIX/include]

pie...@lutwidge:~/dev-Linux_boost/boost_1_41_0$
______________________________________________________


Then, I rest on my heels,  somewhat lost in deep (even uffish) thoughts.
Could someone please sent me the proper boost command to issue
(eventually one that loads ALL),
and same for some products that look obscure to me,
such as gtkmm, glademm, glibmm...

???????????????????????????????????????????????????????????????

I feel that, once this dependencies problem solved, things will go fine and easy (but all my familiars consider me as exaggerately optimistic).

I'm sorry to bother (even bore) anybody, but I guess someone could save hours (days ?) of trials and errors in just a few minutes, so avoiding my Snark to be a Boojum. Later on, I'll undertake a good [auto]education, but by now I need to go quickly to some tests.

Cheerfully and hopefully,



Pierre



------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com


_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to