hi,  Mohit

I tried to install 1.48 but can not locate the package
Shell>sudo apt-get install libboost1.48-all-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libboost1.48-all-dev
E: Couldn't find any package by regex 'libboost1.48-all-dev'

And i tried to install 1.49

Shell>sudo apt-get install libboost1.49-all-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libboost1.49-all-dev : Depends: libboost1.49-dev but it is not going to be
installed
                        Depends: libboost-chrono1.49-dev but it is not
going to be installed
                        Depends: libboost-date-time1.49-dev but it is not
going to be installed
                        Depends: libboost-filesystem1.49-dev but it is not
going to be installed
                        Depends: libboost-graph1.49-dev but it is not going
to be installed
                        Depends: libboost-graph-parallel1.49-dev but it is
not going to be installed
                        Depends: libboost-iostreams1.49-dev but it is not
going to be installed
                        Depends: libboost-locale1.49-dev but it is not
going to be installed
                        Depends: libboost-math1.49-dev but it is not going
to be installed
                        Depends: libboost-mpi1.49-dev but it is not going
to be installed
                        Depends: libboost-mpi-python1.49-dev but it is not
going to be installed
                        Depends: libboost-program-options1.49-dev but it is
not going to be installed
                        Depends: libboost-python1.49-dev but it is not
going to be installed
                        Depends: libboost-random1.49-dev but it is not
going to be installed
                        Depends: libboost-regex1.49-dev but it is not going
to be installed
                        Depends: libboost-serialization1.49-dev but it is
not going to be installed
                        Depends: libboost-signals1.49-dev but it is not
going to be installed
                        Depends: libboost-system1.49-dev but it is not
going to be installed
                        Depends: libboost-test1.49-dev but it is not going
to be installed
                        Depends: libboost-thread1.49-dev but it is not
going to be installed
                        Depends: libboost-timer1.49-dev but it is not going
to be installed
                        Depends: libboost-wave1.49-dev but it is not going
to be installed
E: Unable to correct problems, you have held broken packages.


The version of Ubuntu is 12.10 and linux kernal is 3.5.0-18-generic.

Do you know how to fix this?

Thanks a lot for your reply.


2013/8/19 Mohit Srivastava <srivastavamohi...@gmail.com>

> Hey,
>
> sudo apt-get install libboost1.48-all-dev
>
> this should help you . Try this & let me know
>
> --Mohit
>
>
>
> On Mon, Aug 19, 2013 at 1:12 PM, Louis.hust <ouc...@gmail.com> wrote:
>
>> hi, Mohit,
>>
>> I download the boost 1.48.0 source code, and compile it and install it to
>> /usr/local/boost_1_48_0/
>>
>> Then i compile drizzle as below:
>> Shell>./config/autorun.sh
>> ....
>> autoreconf: running: /usr/bin/autoheader --force --warnings=all
>> autoreconf: running: automake --add-missing --copy --force-missing
>> --warnings=all
>> autoreconf: Leaving directory `.'
>>
>> Shell>./configure --prefix=`pwd`/debug
>> --with-lib-prefix=/usr/local/boost_1_48_0/ --with-debug
>> ....
>> Configuration summary for drizzle version 7.1 drizzle7.1
>>
>>    * Installation prefix:       /home/louis/src/mysql/drizzle7.1/debug
>>    * System type:               unknown-linux-gnu
>>    * pandora-build version:     0.175
>>    * Host CPU:                  x86_64
>>    * C Compiler:                gcc (Ubuntu/Linaro 4.5.4-1ubuntu2) 4.5.4
>>    * C++ Compiler:              g++ (Ubuntu/Linaro 4.5.4-1ubuntu2) 4.5.4
>>    * Assertions enabled:        yes
>>    * Debug enabled:             yes
>>    * Profiling enabled:         no
>>    * Coverage enabled:          no
>>    * Warnings as failure:       yes
>>
>>
>> Shell>make
>> ....
>> cc1plus: warnings being treated as errors
>> In file included from
>> /usr/local/boost_1_48_0//include/boost/unordered/unordered_map.hpp:17:0,
>>                  from
>> /usr/local/boost_1_48_0//include/boost/unordered_map.hpp:16,
>>                  from ./drizzled/error.h:24,
>>                  from drizzled/charset.cc:19:
>> /usr/local/boost_1_48_0//include/boost/unordered/detail/allocator_helpers.hpp:29:5:
>> error: "BOOST_UNORDERED_USE_ALLOCATOR_TRAITS" is not defined
>> /usr/local/boost_1_48_0//include/boost/unordered/detail/allocator_helpers.hpp:193:5:
>> error: "BOOST_UNORDERED_USE_ALLOCATOR_TRAITS" is not defined
>> In file included from
>> /usr/local/boost_1_48_0//include/boost/unordered/detail/equivalent.hpp:16:0,
>>                  from
>> /usr/local/boost_1_48_0//include/boost/unordered/unordered_map.hpp:18,
>>                  from
>> /usr/local/boost_1_48_0//include/boost/unordered_map.hpp:16,
>>                  from ./drizzled/error.h:24,
>>                  from drizzled/charset.cc:19:
>> .....
>> /usr/local/boost_1_48_0//include/boost/unordered/detail/emplace_args.hpp:133:1:
>> error: declaration of 'a1' shadows a member of 'this' [-Wshadow]
>> /usr/local/boost_1_48_0//include/boost/unordered/detail/emplace_args.hpp:133:1:
>> error: declaration of 'a0' shadows a member of 'this' [-Wshadow]
>>
>>
>> I got some errors and many wanrings caused by Wshadow, i don't know it's
>> caused by boost or drizzle? And how can i fix it?
>>
>> Louis
>>
>>
>>
>>
>>
>> 2013/8/19 Mohit Srivastava <srivastavamohi...@gmail.com>
>>
>>> Hey,
>>>
>>> sudo apt-get install ibboost1.48-all-dev libprotobuf-dev
>>> protobuf-compiler uuid-dev libcloog-ppl0
>>>
>>>
>>> On Mon, Aug 19, 2013 at 10:24 AM, Louis.hust <ouc...@gmail.com> wrote:
>>>
>>>> Hi, Mohit,
>>>> Thank you again ^_^
>>>>
>>>> Actually i have installed all component drizzle needed, but when i
>>>> compile the source code, i get many warnings related to boost.
>>>> The version of boost is 1.42.0, and gcc is 4.5.4.
>>>>
>>>> When i "make", i got many warnings which are treated as errors cause
>>>> Werror is on.
>>>>
>>>> Error message as below:
>>>>
>>>> /usr/local/boost_1_42_0//include/boost/date_time/gregorian/conversion.hpp:44:23:
>>>> error: missing initializer for member 'tm::tm_sec'
>>>> [-Wmissing-field-initializers]
>>>>
>>>> So  should i need to get a new version of boost or should i change the
>>>> compile options?
>>>>
>>>> Louis
>>>>
>>>>
>>>>
>>>>
>>>> 2013/8/19 Mohit Srivastava <srivastavamohi...@gmail.com>
>>>>
>>>>> Hey,
>>>>>
>>>>> There is no package for quantal yet.
>>>>> You can download for precise from
>>>>> http://packages.ubuntu.com/precise/drizzle-dev. And try to install it
>>>>> on quantal.
>>>>> And if you get more error after this , have a look
>>>>> http://mohyt.blogspot.in/2013/07/setting-up-drizzle-development-ubuntu.html
>>>>>
>>>>> OR
>>>>>
>>>>> You can manually download every dependencies.
>>>>>
>>>>> --
>>>>> Mohit
>>>>>
>>>>>
>>>>> On Mon, Aug 19, 2013 at 9:17 AM, Louis.hust <ouc...@gmail.com> wrote:
>>>>>
>>>>>> Hey Monhit:
>>>>>>
>>>>>> Thanks for your reply.
>>>>>> I tried "sudo apt-get install drizzle-dev", but with error : unable
>>>>>> to locate package drizzle-dev.
>>>>>>
>>>>>>
>>>>>> 2013/8/19 Mohit Srivastava <srivastavamohi...@gmail.com>
>>>>>>
>>>>>>> Hey Louis,
>>>>>>> Just try sudo apt-get install drizzle-dev
>>>>>>>
>>>>>>> --
>>>>>>> Mohit
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Aug 19, 2013 at 9:08 AM, Louis.hust <ouc...@gmail.com>wrote:
>>>>>>>
>>>>>>>> Hi, all,
>>>>>>>>
>>>>>>>> I'd like to build the drizzle from source following
>>>>>>>> http://docs.drizzle.org/installing/from_source.html#dependencies
>>>>>>>>
>>>>>>>> i follow the steps on ubuntu:
>>>>>>>>
>>>>>>>> "sudo add-apt-repository ppa:drizzle-developers/ppa " execute
>>>>>>>> successfully,
>>>>>>>>
>>>>>>>> but when i execute "sudo add-get update", i got the following error
>>>>>>>> message:
>>>>>>>>
>>>>>>>> error http://ppa.launchpad.net quantal/main Sources
>>>>>>>>
>>>>>>>>   404  Not Found
>>>>>>>> error http://ppa.launchpad.net quantal/main amd64 Packages
>>>>>>>>   404  Not Found
>>>>>>>> erro http://ppa.launchpad.net quantal/main i386 Packages
>>>>>>>>   404  Not Found
>>>>>>>>
>>>>>>>> Is there anyone that can help me? Thanks a lot.
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Mailing list: https://launchpad.net/~drizzle-discuss
>>>>>>>> Post to     : drizzle-discuss@lists.launchpad.net
>>>>>>>> Unsubscribe : https://launchpad.net/~drizzle-discuss
>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : drizzle-discuss@lists.launchpad.net
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to