[campsite-support] installation error via apt and source
  • Hi,

    With reference to this earlier support email:

    >phorum at code.campware.org wrote:
    > Author: bshih
    > Link: http://code.campware.org/phorum/read.php?20,7207,7207#msg-7207
    >
    >---------------------------------------------------------------------------
    -----
    >
    > /opt/campcaster/bin/postInstallStation.sh: line 402: 8526 Segmentation
    fault php -q install.php
    > Of course, studio won't continue to install because of this error. has
    > anyone seen this before?
    >
    >Yes, this is a known bug in the command line version of php; sometimes
    >it crashes just before it should exit normally. It was fixed (by
    >ignoring the php crash) in Campcaster a long time ago. Which version of
    >the Campcaster packages are you using, and where did you find them?
    >
    >Regards,
    >
    >Ferenc


    I too am getting the same error when installing through apt-get or aptitude.
    I am trying to install campcaster on Ubuntu Hardy, but the post install
    script ends with this same segmentating error, which prevents completion of
    campcaster-studio and station. Is there a workaround I can do? It also
    appears when I manually run the postinstall script myself.

    Also, when I try to install from source I get problems during make:


    tmp/PostgresqlBackup.o: In function
    `LiveSupport::Scheduler::PostgresqlBackup::createBackupCheck(Glib::ustring
    const&, boost::shared_ptr&,
    boost::shared_ptr&, boost::shared_ptr const>&)':
    PostgresqlBackup.cxx:(.text+0x1cca): undefined reference to
    `odbc::PreparedStatement::setString(int, std::basic_string std::char_traits, std::allocator > const&)'
    PostgresqlBackup.cxx:(.text+0x2193): undefined reference to
    `odbc::Connection::prepareStatement(std::basic_string std::char_traits, std::allocator > const&)'
    PostgresqlBackup.cxx:(.text+0x2224): undefined reference to
    `odbc::PreparedStatement::setString(int, std::basic_string std::char_traits, std::allocator > const&)'

    Which ends with this:

    ./../../modules/db/lib/liblivesupport_db.a(SimpleConnectionManager.o): In
    function `LiveSupport::Db::SimpleConnectionManager::getConnection()':
    SimpleConnectionManager.cxx:(.text+0x2ca): undefined reference to
    `odbc::DriverManager::getConnection(std::basic_string std::char_traits, std::allocator > const&,
    std::basic_string, std::allocator >
    const&, std::basic_string, std::allocator
    > const&)'
    collect2: ld returned 1 exit status
    make[1]: *** [tmp/campcaster-scheduler] Error 1
    make[1]: Leaving directory
    `/usr/local/campcaster-1.4.0/src/products/scheduler'
    make: *** [tmp/compile.stamp] Error 2


    I'm not sure what to do next because, the same errors happen when installing
    the 1.3 and 1.2 versions of the source.


    Thanks in advance,

    Dino Arnulfo M. Baua
    Sr. Systems Administrator
    Zallas Technologies, Inc.
    +1(312)239-0427
    dino@zallas.com
  • 2 Comments sorted by
  • Please post the campcaster related questions on the campcaster support list.

    http://www.campware.org/en/camp/campcaster_news/649/


    On Fri, Jan 8, 2010 at 4:42 PM, wrote:

    > Hi,
    >
    > With reference to this earlier support email:
    >
    > >phorum at code.campware.org wrote:
    > > Author: bshih
    > > Link: http://code.campware.org/phorum/read.php?20,7207,7207#msg-7207
    > >
    >
    > >---------------------------------------------------------------------------
    > -----
    > >
    > > /opt/campcaster/bin/postInstallStation.sh: line 402: 8526 Segmentation
    > fault php -q install.php
    > > Of course, studio won't continue to install because of this error. has
    > > anyone seen this before?
    > >
    > >Yes, this is a known bug in the command line version of php; sometimes
    > >it crashes just before it should exit normally. It was fixed (by
    > >ignoring the php crash) in Campcaster a long time ago. Which version of
    > >the Campcaster packages are you using, and where did you find them?
    > >
    > >Regards,
    > >
    > >Ferenc
    >
    >
    > I too am getting the same error when installing through apt-get or
    > aptitude.
    > I am trying to install campcaster on Ubuntu Hardy, but the post install
    > script ends with this same segmentating error, which prevents completion of
    > campcaster-studio and station. Is there a workaround I can do? It also
    > appears when I manually run the postinstall script myself.
    >
    > Also, when I try to install from source I get problems during make:
    >
    >
    > tmp/PostgresqlBackup.o: In function
    > `LiveSupport::Scheduler::PostgresqlBackup::createBackupCheck(Glib::ustring
    > const&, boost::shared_ptr&,
    > boost::shared_ptr&, boost::shared_ptr > const>&)':
    > PostgresqlBackup.cxx:(.text+0x1cca): undefined reference to
    > `odbc::PreparedStatement::setString(int, std::basic_string > std::char_traits, std::allocator > const&)'
    > PostgresqlBackup.cxx:(.text+0x2193): undefined reference to
    > `odbc::Connection::prepareStatement(std::basic_string > std::char_traits, std::allocator > const&)'
    > PostgresqlBackup.cxx:(.text+0x2224): undefined reference to
    > `odbc::PreparedStatement::setString(int, std::basic_string > std::char_traits, std::allocator > const&)'
    >
    > Which ends with this:
    >
    > ./../../modules/db/lib/liblivesupport_db.a(SimpleConnectionManager.o): In
    > function `LiveSupport::Db::SimpleConnectionManager::getConnection()':
    > SimpleConnectionManager.cxx:(.text+0x2ca): undefined reference to
    > `odbc::DriverManager::getConnection(std::basic_string > std::char_traits, std::allocator > const&,
    > std::basic_string, std::allocator >
    > const&, std::basic_string,
    > std::allocator
    > > const&)'
    > collect2: ld returned 1 exit status
    > make[1]: *** [tmp/campcaster-scheduler] Error 1
    > make[1]: Leaving directory
    > `/usr/local/campcaster-1.4.0/src/products/scheduler'
    > make: *** [tmp/compile.stamp] Error 2
    >
    >
    > I'm not sure what to do next because, the same errors happen when
    > installing
    > the 1.3 and 1.2 versions of the source.
    >
    >
    > Thanks in advance,
    >
    > Dino Arnulfo M. Baua
    > Sr. Systems Administrator
    > Zallas Technologies, Inc.
    > +1(312)239-0427
    > dino@zallas.com
    >
    >
  • Thanks, I'll do that.



    Dino Arnulfo M. Baua
    Sr. Systems Administrator
    Zallas Technologies, Inc.

    -----Original Message-----
    From: Mugur Rus [mailto:mugur.rus@gmail.com]
    Sent: Saturday, January 09, 2010 5:09 AM
    To: campsite-support
    Subject: Re: [campsite-support] installation error via apt and source


    Please post the campcaster related questions on the campcaster support list.

    http://www.campware.org/en/camp/campcaster_news/649/



    On Fri, Jan 8, 2010 at 4:42 PM, wrote:


    Hi,

    With reference to this earlier support email:

    >phorum at code.campware.org wrote:
    > Author: bshih
    > Link: http://code.campware.org/phorum/read.php?20,7207,7207#msg-7207
    >
    >---------------------------------------------------------------------------
    -----
    >
    > /opt/campcaster/bin/postInstallStation.sh: line 402: 8526 Segmentation
    fault php -q install.php
    > Of course, studio won't continue to install because of this error. has
    > anyone seen this before?
    >
    >Yes, this is a known bug in the command line version of php; sometimes
    >it crashes just before it should exit normally. It was fixed (by
    >ignoring the php crash) in Campcaster a long time ago. Which version of
    >the Campcaster packages are you using, and where did you find them?
    >
    >Regards,
    >
    >Ferenc


    I too am getting the same error when installing through apt-get or aptitude.
    I am trying to install campcaster on Ubuntu Hardy, but the post install
    script ends with this same segmentating error, which prevents completion of
    campcaster-studio and station. Is there a workaround I can do? It also
    appears when I manually run the postinstall script myself.

    Also, when I try to install from source I get problems during make:


    tmp/PostgresqlBackup.o: In function
    `LiveSupport::Scheduler::PostgresqlBackup::createBackupCheck(Glib::ustring
    const&, boost::shared_ptr&,
    boost::shared_ptr&, boost::shared_ptr const>&)':
    PostgresqlBackup.cxx:(.text+0x1cca): undefined reference to
    `odbc::PreparedStatement::setString(int, std::basic_string std::char_traits, std::allocator > const&)'
    PostgresqlBackup.cxx:(.text+0x2193): undefined reference to
    `odbc::Connection::prepareStatement(std::basic_string std::char_traits, std::allocator > const&)'
    PostgresqlBackup.cxx:(.text+0x2224): undefined reference to
    `odbc::PreparedStatement::setString(int, std::basic_string std::char_traits, std::allocator > const&)'

    Which ends with this:

    ./../../modules/db/lib/liblivesupport_db.a(SimpleConnectionManager.o): In
    function `LiveSupport::Db::SimpleConnectionManager::getConnection()':
    SimpleConnectionManager.cxx:(.text+0x2ca): undefined reference to
    `odbc::DriverManager::getConnection(std::basic_string std::char_traits, std::allocator > const&,
    std::basic_string, std::allocator >
    const&, std::basic_string, std::allocator
    > const&)'
    collect2: ld returned 1 exit status
    make[1]: *** [tmp/campcaster-scheduler] Error 1
    make[1]: Leaving directory
    `/usr/local/campcaster-1.4.0/src/products/scheduler'
    make: *** [tmp/compile.stamp] Error 2


    I'm not sure what to do next because, the same errors happen when installing
    the 1.3 and 1.2 versions of the source.


    Thanks in advance,

    Dino Arnulfo M. Baua
    Sr. Systems Administrator
    Zallas Technologies, Inc.
    +1(312)239-0427
    dino@zallas.com