List Info

Thread: Upgrade Installation Quits




Upgrade Installation Quits
user name
2006-02-27 13:34:06
I am currently running 2.4.1 and have tried to upgrade to
2.4.3.

However, when I run the install script, it dies. The last
few lines of
the install_log show:

mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tre
e_nodeISt4pairIKmiEE
St24__default_alloc_templateILb1ELi0EEE10deallocateEPS4_j+0x
23): undefined refer
ence to `std::__default_alloc_template<true,
0>::deallocate(void*, unsigned int)
'
collect2: ld returned 1 exit status
make[4]: *** [smtp_wrapper] Error 1
make[4]: Leaving directory
`/usr/local/src/campsite/implementation/mailnotify/sm
tp_wrapper/smtp_wrapper'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/usr/local/src/campsite/implementation/mailnotify/sm
tp_wrapper'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/usr/local/src/campsite/implementation/mailnotify'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/usr/local/src/campsite/implementation'
make: *** [all] Error 2


Any suggestions on how to resolve this?

TIA,
Chris
Upgrade Installation Quits
user name
2006-03-01 12:17:41
Hi,

Did you change something on your system since you installed 2.4.1? Please download a clean 2.4.1 and try to install it again, see if you get the same error you it compiles ok.

Regards,
Mugur

Christopher Palermo <cpalermowayuga.com> wrote:
I am currently running 2.4.1 and have tried to upgrade to 2.4.3.

However, when I run the install script, it dies. The last few lines of
the install_log show:

mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKmiEE
St24__default_alloc_templateILb1ELi0EEE10deallocateEPS4_j+0x23): undefined refer
ence to `std::__default_alloc_template::deallocate(void*, unsigned int)
'
collect2: ld returned 1 exit status
make[4]: *** [smtp_wrapper] Error 1
make[4]: Leaving directory `/usr/local/src/campsite/implementation/mailnotify/sm
tp_wrapper/smtp_wrapper'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/local/src/campsite/implementation/mailnotify/sm
tp_wrapper'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/campsite/implementation/mailnotify'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/local/src/campsite/implementation'
make: *** [all] Error 2


Any suggestions on how to resolve this?

TIA,
Chris


Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.
Upgrade Installation Quits
user name
2006-03-04 14:10:26
Yup, you are right. Something must have changed. 2.4.1
won't install
either. I'll kee digging and see if I can figure out why.

Thanks for the suggestion.

Chris

On 3/1/06, Mugur Rus <mugur1973yahoo.com> wrote:
> Hi,
>
> Did you change something on your system since you
installed 2.4.1? Please
> download a clean 2.4.1 and try to install it again, see
if you get the same
> error you it compiles ok.
>
> Regards,
> Mugur
>
>
> Christopher Palermo <cpalermowayuga.com> wrote:
>
>  I am currently running 2.4.1 and have tried to upgrade
to 2.4.3.
>
> However, when I run the install script, it dies. The
last few lines of
> the install_log show:
>
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tre
e_nodeISt4pairIKmiEE
>
St24__default_alloc_templateILb1ELi0EEE10deallocateEPS4_j+0x
23):
> undefined refer
> ence to
`std::__default_alloc_template::deallocate(void*, unsigned
int)
>
> '
> collect2: ld returned 1 exit status
> make[4]: *** [smtp_wrapper] Error 1
> make[4]: Leaving directory
> `/usr/local/src/campsite/implementation/mailnotify/sm
> tp_wrapper/smtp_wrapper'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/usr/local/src/campsite/implementation/mailnotify/sm
> tp_wrapper'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/usr/local/src/campsite/implementation/mailnotify'
> make[1]: *** [all] Error 1
> make[1]: Leaving directory
> `/usr/local/src/campsite/implementation'
> make: *** [all] Error 2
>
>
> Any suggestions on how to resolve this?
>
> TIA,
> Chris
>
>
>
>
>  ________________________________
> Yahoo! Mail
>  Bring photos to life! New PhotoMail makes sharing a
breeze.
>
>
Upgrade Installation Quits
user name
2006-03-08 18:43:11
I've still had no success in determining where my problem is in order to install campsite. I'm posting the results of my install_log to see if anyone can offer some suggestions.

TIA,
Chris

###############################################
&nbsp;   ; &nbsp;  Configuring campsite

Checking install dependencies...OK
Testing install configuration...OK
Checking DATABASE module dependencies...OK
*** Preparing DATABASE environment...OK
Testing database configuration...OK
Module DATABASE is not configurable
Checking PARSER module dependencies...OK
*** Preparing PARSER environment...OK
Testing PARSER configuration...OK
Checking EVENT_HANDLERS module dependencies...OK
*** Preparing EVENT_HANDLERS environment...
EVENT_HANDLERS environment OK
Testing EVENT_HANDLERS configuration...OK
Module EVENT_HANDLERS is not configurable
Checking SEARCH_ENGINE module dependencies...OK
*** Preparing SEARCH_ENGINE environment...OK
Testing SEARCH_ENGINE configuration...OK
Module SEARCH_ENGINE is not configurable
Checking ADMIN_INTERFACE module dependencies...OK
*** Preparing ADMIN_INTERFACE environment...OK
Testing ADMIN_INTERFACE configuration...OK
Module ADMIN_INTERFACE is not configurable
Writing campsite_config script...done
Writing make.env file...up to date
The file campsite_version.php is up to date.
Header file configure.h is up to date.
###############################################
 &nbsp; &nbsp; &nbsp;  Compiling sources

/usr/bin/make -C implementation all
make[1]: Entering directory `/usr/local/src/campsite/implementation'
for part in utils database parser mailnotify search management; do \
 &nbsp;  /usr/bin/make -C $part all; \
 &nbsp;  if [ $? -ne 0 ]; then exit 1; fi; \
done
make[2]: Entering directory `/usr/local/src/campsite/implementation/utils'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/campsite/implementation/utils'
make[2]: Entering directory `/usr/local/src/campsite/implementation/database'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/campsite/implementation/database'
make[2]: Entering directory `/usr/local/src/campsite/implementation/parser'
/usr/bin/make -C parser
make[3]: Entering directory `/usr/local/src/campsite/implementation/parser/parser'
make[3]: Leaving directory `/usr/local/src/campsite/implementation/parser/parser'
make[2]: Leaving directory `/usr/local/src/campsite/implementation/parser'
make[2]: Entering directory `/usr/local/src/campsite/implementation/mailnotify'
/usr/bin/make -C smtp_wrapper
make[3]: Entering directory `/usr/local/src/campsite/implementation/mailnotify/smtp_wrapper'
/usr/bin/make -C smtp_wrapper
make[4]: Entering directory `/usr/local/src/campsite/implementation/mailnotify/smtp_wrapper/smtp_wrapper'
for l in csocket.h csocket.cpp exceptions.h mutex.cpp mutex.h; do if [ ! -L $l ]; then ln -s ../../../parser/parser/$l; fi; done
g++ -o smtp_wrapper smtp_wrapper.o csocket.o mutex.o -lpthread
mutex.o: In function `std::__simple_alloc&lt;std::_Rb_tree_node&lt;std::pair<unsigned long const, int> >, std::__default_alloc_template<;true, 0> >::allocate(unsigned int)':
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKmiEESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x27): undefined reference to `std::__default_alloc_template&lt;true, 0>::allocate(unsigned int)'
mutex.o: In function `std::__simple_alloc&lt;unsigned long*, std::__default_alloc_template<;true, 0> >::allocate(unsigned int)':
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPmSt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d): undefined reference to `std::__default_alloc_template&lt;true, 0>::allocate(unsigned int)'
mutex.o: In function `std::__simple_alloc&lt;unsigned long, std::__default_alloc_template<;true, 0> >::deallocate(unsigned long*, unsigned int)':
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocImSt24__default_alloc_templateILb1ELi0EEE10deallocateEPmj+0x1d): undefined reference to `std::__default_alloc_template&lt;true, 0>::deallocate(void*, unsigned int)'
mutex.o: In function `std::__simple_alloc&lt;std::pair<int, bool>*, std::__default_alloc_template<;true, 0> >::allocate(unsigned int)':
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPSt4pairIibESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d): undefined reference to `std::__default_alloc_template&lt;true, 0>::allocate(unsigned int)'
mutex.o: In function `std::__simple_alloc&lt;std::pair<int, bool>, std::__default_alloc_template<;true, 0> >::deallocate(std::pair<int, bool>*, unsigned int)':
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt4pairIibESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS1_j+0x1d): undefined reference to `std::__default_alloc_template&lt;true, 0>::deallocate(void*, unsigned int)'
mutex.o: In function `std::__simple_alloc&lt;unsigned long, std::__default_alloc_template<;true, 0> >::allocate(unsigned int)':
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocImSt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d): undefined reference to `std::__default_alloc_template&lt;true, 0>::allocate(unsigned int)'
mutex.o: In function `std::__simple_alloc&lt;unsigned long*, std::__default_alloc_template<;true, 0> >::deallocate(unsigned long**, unsigned int)':
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPmSt24__default_alloc_templateILb1ELi0EEE10deallocateEPS0_j+0x1d): undefined reference to `std::__default_alloc_template&lt;true, 0>::deallocate(void*, unsigned int)'
mutex.o: In function `std::__simple_alloc&lt;std::pair<int, bool>, std::__default_alloc_template<;true, 0> >::allocate(unsigned int)':
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt4pairIibESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d): undefined reference to `std::__default_alloc_template&lt;true, 0>::allocate(unsigned int)'
mutex.o: In function `std::__simple_alloc&lt;std::pair<int, bool>*, std::__default_alloc_template<;true, 0> >::deallocate(std::pair<int, bool>**, unsigned int)':
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPSt4pairIibESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS2_j+0x1d): undefined reference to `std::__default_alloc_template&lt;true, 0>::deallocate(void*, unsigned int)'
mutex.o: In function `std::__simple_alloc&lt;std::_Rb_tree_node&lt;std::pair<unsigned long const, int> >, std::__default_alloc_template<;true, 0> >::deallocate(std::_Rb_tree_node<std::pair<unsigned long const, int> >*, unsigned int)':
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKmiEESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS4_j+0x23): undefined reference to `std::__default_alloc_template&lt;true, 0>::deallocate(void*, unsigned int)'
collect2: ld returned 1 exit status
make[4]: *** [smtp_wrapper] Error 1
make[4]: Leaving directory `/usr/local/src/campsite/implementation/mailnotify/smtp_wrapper/smtp_wrapper'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/local/src/campsite/implementation/mailnotify/smtp_wrapper'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/campsite/implementation/mailnotify'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/local/src/campsite/implementation'
make: *** [all] Error 2




Upgrade Installation Quits
user name
2006-03-09 03:05:22
Hi Chris -
Its hard to tell what is messing up from that error.

1) Try installing campsite 2.5 (though from where it is
failing, this
probably wont help)

2) Do you need the email notification stuff?  If not, change
the
Makefile so that it doesnt try to build that section of the
code (if you
dont know how to do this, go to #3).  This should work as
its already
built the parser successfully.

3) Give me access try to your server so I can debug/fix it
(send me a
private email).

- Paul



Christopher Palermo wrote:
> I've still had no success in determining where my
problem is in order to
> install campsite. I'm posting the results of my
install_log to see if
> anyone can offer some suggestions.
> 
> TIA,
> Chris
> 
> ###############################################
>         Configuring campsite
> 
> Checking install dependencies...OK
> Testing install configuration...OK
> Checking DATABASE module dependencies...OK
> *** Preparing DATABASE environment...OK
> Testing database configuration...OK
> Module DATABASE is not configurable
> Checking PARSER module dependencies...OK
> *** Preparing PARSER environment...OK
> Testing PARSER configuration...OK
> Checking EVENT_HANDLERS module dependencies...OK
> *** Preparing EVENT_HANDLERS environment...
> EVENT_HANDLERS environment OK
> Testing EVENT_HANDLERS configuration...OK
> Module EVENT_HANDLERS is not configurable
> Checking SEARCH_ENGINE module dependencies...OK
> *** Preparing SEARCH_ENGINE environment...OK
> Testing SEARCH_ENGINE configuration...OK
> Module SEARCH_ENGINE is not configurable
> Checking ADMIN_INTERFACE module dependencies...OK
> *** Preparing ADMIN_INTERFACE environment...OK
> Testing ADMIN_INTERFACE configuration...OK
> Module ADMIN_INTERFACE is not configurable
> Writing campsite_config script...done
> Writing make.env file...up to date
> The file campsite_version.php is up to date.
> Header file configure.h is up to date.
> ###############################################
>         Compiling sources
> 
> /usr/bin/make -C implementation all
> make[1]: Entering directory
`/usr/local/src/campsite/implementation'
> for part in utils database parser mailnotify search
management; do \
>     /usr/bin/make -C $part all; \
>     if [ $? -ne 0 ]; then exit 1; fi; \
> done
> make[2]: Entering directory
`/usr/local/src/campsite/implementation/utils'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
`/usr/local/src/campsite/implementation/utils'
> make[2]: Entering directory
> `/usr/local/src/campsite/implementation/database'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
`/usr/local/src/campsite/implementation/database'
> make[2]: Entering directory
`/usr/local/src/campsite/implementation/parser'
> /usr/bin/make -C parser
> make[3]: Entering directory
> `/usr/local/src/campsite/implementation/parser/parser'
> make[3]: Leaving directory
> `/usr/local/src/campsite/implementation/parser/parser'
> make[2]: Leaving directory
`/usr/local/src/campsite/implementation/parser'
> make[2]: Entering directory
> `/usr/local/src/campsite/implementation/mailnotify'
> /usr/bin/make -C smtp_wrapper
> make[3]: Entering directory
>
`/usr/local/src/campsite/implementation/mailnotify/smtp_wrap
per'
> /usr/bin/make -C smtp_wrapper
> make[4]: Entering directory
>
`/usr/local/src/campsite/implementation/mailnotify/smtp_wrap
per/smtp_wrapper'
> for l in csocket.h csocket.cpp exceptions.h mutex.cpp
mutex.h; do if [ !
> -L $l ]; then ln -s ../../../parser/parser/$l; fi; done
> g++ -o smtp_wrapper smtp_wrapper.o csocket.o mutex.o
-lpthread
> mutex.o: In function
>
`std::__simple_alloc<std::_Rb_tree_node<std::pair<u
nsigned long const,
> int> >, std::__default_alloc_template<true,
0> >::allocate(unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tre
e_nodeISt4pairIKmiEESt24__default_alloc_templateILb1ELi0EEE8
allocateEj+0x27):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::allocate(unsigned int)'
> mutex.o: In function `std::__simple_alloc<unsigned
long*,
> std::__default_alloc_template<true, 0>
>::allocate(unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPmSt24__def
ault_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::allocate(unsigned int)'
> mutex.o: In function `std::__simple_alloc<unsigned
long,
> std::__default_alloc_template<true, 0>
>::deallocate(unsigned long*,
> unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocImSt24__defa
ult_alloc_templateILb1ELi0EEE10deallocateEPmj+0x1d):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::deallocate(void*, unsigned int)'
> mutex.o: In function
`std::__simple_alloc<std::pair<int, bool>*,
> std::__default_alloc_template<true, 0>
>::allocate(unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPSt4pairIib
ESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::allocate(unsigned int)'
> mutex.o: In function
`std::__simple_alloc<std::pair<int, bool>,
> std::__default_alloc_template<true, 0>
>::deallocate(std::pair<int,
> bool>*, unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt4pairIibE
St24__default_alloc_templateILb1ELi0EEE10deallocateEPS1_j+0x
1d):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::deallocate(void*, unsigned int)'
> mutex.o: In function `std::__simple_alloc<unsigned
long,
> std::__default_alloc_template<true, 0>
>::allocate(unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocImSt24__defa
ult_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::allocate(unsigned int)'
> mutex.o: In function `std::__simple_alloc<unsigned
long*,
> std::__default_alloc_template<true, 0>
>::deallocate(unsigned long**,
> unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPmSt24__def
ault_alloc_templateILb1ELi0EEE10deallocateEPS0_j+0x1d):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::deallocate(void*, unsigned int)'
> mutex.o: In function
`std::__simple_alloc<std::pair<int, bool>,
> std::__default_alloc_template<true, 0>
>::allocate(unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt4pairIibE
St24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::allocate(unsigned int)'
> mutex.o: In function
`std::__simple_alloc<std::pair<int, bool>*,
> std::__default_alloc_template<true, 0>
>::deallocate(std::pair<int,
> bool>**, unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPSt4pairIib
ESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS2_j+0
x1d):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::deallocate(void*, unsigned int)'
> mutex.o: In function
>
`std::__simple_alloc<std::_Rb_tree_node<std::pair<u
nsigned long const,
> int> >, std::__default_alloc_template<true,
0>
>>::deallocate(std::_Rb_tree_node<std::pair<unsi
gned long const, int> >*,
> unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tre
e_nodeISt4pairIKmiEESt24__default_alloc_templateILb1ELi0EEE1
0deallocateEPS4_j+0x23):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::deallocate(void*, unsigned int)'
> collect2: ld returned 1 exit status
> make[4]: *** [smtp_wrapper] Error 1
> make[4]: Leaving directory
>
`/usr/local/src/campsite/implementation/mailnotify/smtp_wrap
per/smtp_wrapper'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
>
`/usr/local/src/campsite/implementation/mailnotify/smtp_wrap
per'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/usr/local/src/campsite/implementation/mailnotify'
> make[1]: *** [all] Error 1
> make[1]: Leaving directory
`/usr/local/src/campsite/implementation'
> make: *** [all] Error 2
> 
> 
> 
> 

Upgrade Installation Quits
user name
2006-03-09 21:16:23
I worked with Chris to figure out the issue, and wanted to
post it here
in case anyone else has the same problem in the future.

The short answer is that you cannot extract your upgrade
into the same
directory as a previous build.

The long answer:
Suppose you download the upgrade into a directory which
contains the
initial install, so it looks like this:

campsite/   campsite-2.4.1.tar.gz   campsite-2.4.3.tar.gz

The "campsite" subdirectory contains the 2.4.1
release.  If you then
extract the upgrade into the same directory, in other words
you run the
command:

# tar xzf campsite-2.4.3.tar.gz

it will extract the files into the existing campsite
directory.  If you
then go into the "campsite" directory and try to
build, weird things
will happen because there are a lot of temporary files left
over from
the previous version.

The moral of the story is to always unzip the tarball into a
fresh new
directory.

- Paul


Christopher Palermo wrote:
> I've still had no success in determining where my
problem is in order to
> install campsite. I'm posting the results of my
install_log to see if
> anyone can offer some suggestions.
> 
> TIA,
> Chris
> 
> ###############################################
>         Configuring campsite
> 
> Checking install dependencies...OK
> Testing install configuration...OK
> Checking DATABASE module dependencies...OK
> *** Preparing DATABASE environment...OK
> Testing database configuration...OK
> Module DATABASE is not configurable
> Checking PARSER module dependencies...OK
> *** Preparing PARSER environment...OK
> Testing PARSER configuration...OK
> Checking EVENT_HANDLERS module dependencies...OK
> *** Preparing EVENT_HANDLERS environment...
> EVENT_HANDLERS environment OK
> Testing EVENT_HANDLERS configuration...OK
> Module EVENT_HANDLERS is not configurable
> Checking SEARCH_ENGINE module dependencies...OK
> *** Preparing SEARCH_ENGINE environment...OK
> Testing SEARCH_ENGINE configuration...OK
> Module SEARCH_ENGINE is not configurable
> Checking ADMIN_INTERFACE module dependencies...OK
> *** Preparing ADMIN_INTERFACE environment...OK
> Testing ADMIN_INTERFACE configuration...OK
> Module ADMIN_INTERFACE is not configurable
> Writing campsite_config script...done
> Writing make.env file...up to date
> The file campsite_version.php is up to date.
> Header file configure.h is up to date.
> ###############################################
>         Compiling sources
> 
> /usr/bin/make -C implementation all
> make[1]: Entering directory
`/usr/local/src/campsite/implementation'
> for part in utils database parser mailnotify search
management; do \
>     /usr/bin/make -C $part all; \
>     if [ $? -ne 0 ]; then exit 1; fi; \
> done
> make[2]: Entering directory
`/usr/local/src/campsite/implementation/utils'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
`/usr/local/src/campsite/implementation/utils'
> make[2]: Entering directory
> `/usr/local/src/campsite/implementation/database'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
`/usr/local/src/campsite/implementation/database'
> make[2]: Entering directory
`/usr/local/src/campsite/implementation/parser'
> /usr/bin/make -C parser
> make[3]: Entering directory
> `/usr/local/src/campsite/implementation/parser/parser'
> make[3]: Leaving directory
> `/usr/local/src/campsite/implementation/parser/parser'
> make[2]: Leaving directory
`/usr/local/src/campsite/implementation/parser'
> make[2]: Entering directory
> `/usr/local/src/campsite/implementation/mailnotify'
> /usr/bin/make -C smtp_wrapper
> make[3]: Entering directory
>
`/usr/local/src/campsite/implementation/mailnotify/smtp_wrap
per'
> /usr/bin/make -C smtp_wrapper
> make[4]: Entering directory
>
`/usr/local/src/campsite/implementation/mailnotify/smtp_wrap
per/smtp_wrapper'
> for l in csocket.h csocket.cpp exceptions.h mutex.cpp
mutex.h; do if [ !
> -L $l ]; then ln -s ../../../parser/parser/$l; fi; done
> g++ -o smtp_wrapper smtp_wrapper.o csocket.o mutex.o
-lpthread
> mutex.o: In function
>
`std::__simple_alloc<std::_Rb_tree_node<std::pair<u
nsigned long const,
> int> >, std::__default_alloc_template<true,
0> >::allocate(unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tre
e_nodeISt4pairIKmiEESt24__default_alloc_templateILb1ELi0EEE8
allocateEj+0x27):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::allocate(unsigned int)'
> mutex.o: In function `std::__simple_alloc<unsigned
long*,
> std::__default_alloc_template<true, 0>
>::allocate(unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPmSt24__def
ault_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::allocate(unsigned int)'
> mutex.o: In function `std::__simple_alloc<unsigned
long,
> std::__default_alloc_template<true, 0>
>::deallocate(unsigned long*,
> unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocImSt24__defa
ult_alloc_templateILb1ELi0EEE10deallocateEPmj+0x1d):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::deallocate(void*, unsigned int)'
> mutex.o: In function
`std::__simple_alloc<std::pair<int, bool>*,
> std::__default_alloc_template<true, 0>
>::allocate(unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPSt4pairIib
ESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::allocate(unsigned int)'
> mutex.o: In function
`std::__simple_alloc<std::pair<int, bool>,
> std::__default_alloc_template<true, 0>
>::deallocate(std::pair<int,
> bool>*, unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt4pairIibE
St24__default_alloc_templateILb1ELi0EEE10deallocateEPS1_j+0x
1d):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::deallocate(void*, unsigned int)'
> mutex.o: In function `std::__simple_alloc<unsigned
long,
> std::__default_alloc_template<true, 0>
>::allocate(unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocImSt24__defa
ult_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::allocate(unsigned int)'
> mutex.o: In function `std::__simple_alloc<unsigned
long*,
> std::__default_alloc_template<true, 0>
>::deallocate(unsigned long**,
> unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPmSt24__def
ault_alloc_templateILb1ELi0EEE10deallocateEPS0_j+0x1d):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::deallocate(void*, unsigned int)'
> mutex.o: In function
`std::__simple_alloc<std::pair<int, bool>,
> std::__default_alloc_template<true, 0>
>::allocate(unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt4pairIibE
St24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::allocate(unsigned int)'
> mutex.o: In function
`std::__simple_alloc<std::pair<int, bool>*,
> std::__default_alloc_template<true, 0>
>::deallocate(std::pair<int,
> bool>**, unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPSt4pairIib
ESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS2_j+0
x1d):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::deallocate(void*, unsigned int)'
> mutex.o: In function
>
`std::__simple_alloc<std::_Rb_tree_node<std::pair<u
nsigned long const,
> int> >, std::__default_alloc_template<true,
0>
>>::deallocate(std::_Rb_tree_node<std::pair<unsi
gned long const, int> >*,
> unsigned int)':
>
mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tre
e_nodeISt4pairIKmiEESt24__default_alloc_templateILb1ELi0EEE1
0deallocateEPS4_j+0x23):
> undefined reference to
`std::__default_alloc_template<true,
> 0>::deallocate(void*, unsigned int)'
> collect2: ld returned 1 exit status
> make[4]: *** [smtp_wrapper] Error 1
> make[4]: Leaving directory
>
`/usr/local/src/campsite/implementation/mailnotify/smtp_wrap
per/smtp_wrapper'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
>
`/usr/local/src/campsite/implementation/mailnotify/smtp_wrap
per'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/usr/local/src/campsite/implementation/mailnotify'
> make[1]: *** [all] Error 1
> make[1]: Leaving directory
`/usr/local/src/campsite/implementation'
> make: *** [all] Error 2
> 
> 
> 
> 

Upgrade Installation Quits
user name
2006-03-10 13:44:49
Thanks again Paul.

Posting that response was on my todo list today for the exact same reasons. I'm certain your explanation is better.

Chris

On 3/9/06, Paul Baranowski <paulbaranowski.org">paulpaulbaranowski.org&gt; wrote:
I worked with Chris to figure out the issue, and wanted to post it here
in case anyone else has the same problem in the future.

The short answer is that you cannot extract your upgrade into the same
directory as a previous build.

The long answer:
Suppose you download the upgrade into a directory which contains the
initial install, so it looks like this:

campsite/ ;  campsite-2.4.1.tar.gz  ; campsite-2.4.3.tar.gz

The "campsite" subdirectory contains the 2.4.1 release.&nbsp; If you then
extract the upgrade into the same directory, in other words you run the
command:

# tar xzf campsite-2.4.3.tar.gz

it will extract the files into the existing campsite directory.  ;If you
then go into the "campsite" directory and try to build, weird things
will happen because there are a lot of temporary files left over from
the previous version.

The moral of the story is to always unzip the tarball into a fresh new
directory.

- Paul


Christopher Palermo wrote:
>; I've still had no success in determining where my problem is in order to
> install campsite. I'm posting the results of my install_log to see if
> anyone can offer some suggestions.
>
>; TIA,
> Chris
>
> ###############################################
>&nbsp; &nbsp;   ; &nbsp; Configuring campsite
&gt;
> Checking install dependencies...OK
&gt; Testing install configuration...OK
&gt; Checking DATABASE module dependencies...OK
>; *** Preparing DATABASE environment...OK
> Testing database configuration...OK
&gt; Module DATABASE is not configurable
> Checking PARSER module dependencies...OK
>; *** Preparing PARSER environment...OK
> Testing PARSER configuration...OK
&gt; Checking EVENT_HANDLERS module dependencies...OK
>; *** Preparing EVENT_HANDLERS environment...
> EVENT_HANDLERS environment OK
> Testing EVENT_HANDLERS configuration...OK
&gt; Module EVENT_HANDLERS is not configurable
> Checking SEARCH_ENGINE module dependencies...OK
>; *** Preparing SEARCH_ENGINE environment...OK
>; Testing SEARCH_ENGINE configuration...OK
&gt; Module SEARCH_ENGINE is not configurable
> Checking ADMIN_INTERFACE module dependencies...OK
>; *** Preparing ADMIN_INTERFACE environment...OK
> Testing ADMIN_INTERFACE configuration...OK
&gt; Module ADMIN_INTERFACE is not configurable
> Writing campsite_config script...done
> Writing make.env file...up to date
> The file campsite_version.php is up to date.
> Header file configure.h is up to date.
> ###############################################
>&nbsp; &nbsp;   ; &nbsp; Compiling sources
&gt;
> /usr/bin/make -C implementation all
> make[1]: Entering directory `/usr/local/src/campsite/implementation'
&gt; for part in utils database parser mailnotify search management; do \
>&nbsp; &nbsp;  /usr/bin/make -C $part all; \
>&nbsp; &nbsp;  if [ $? -ne 0 ]; then exit 1; fi; \
> done
> make[2]: Entering directory `/usr/local/src/campsite/implementation/utils'
> make[2]: Nothing to be done for `all'.
>; make[2]: Leaving directory `/usr/local/src/campsite/implementation/utils'
> make[2]: Entering directory
> `/usr/local/src/campsite/implementation/database'
>; make[2]: Nothing to be done for `all'.
>; make[2]: Leaving directory `/usr/local/src/campsite/implementation/database'
> make[2]: Entering directory `/usr/local/src/campsite/implementation/parser'
> /usr/bin/make -C parser
&gt; make[3]: Entering directory
> `/usr/local/src/campsite/implementation/parser/parser'
> make[3]: Leaving directory
> `/usr/local/src/campsite/implementation/parser/parser'
> make[2]: Leaving directory `/usr/local/src/campsite/implementation/parser'
> make[2]: Entering directory
> `/usr/local/src/campsite/implementation/mailnotify'
&gt; /usr/bin/make -C smtp_wrapper
> make[3]: Entering directory
> `/usr/local/src/campsite/implementation/mailnotify/smtp_wrapper'
> /usr/bin/make -C smtp_wrapper
> make[4]: Entering directory
> `/usr/local/src/campsite/implementation/mailnotify/smtp_wrapper/smtp_wrapper'
> for l in csocket.h csocket.cpp exceptions.h mutex.cpp mutex.h; do if [ !
> -L $l ]; then ln -s ../../../parser/parser/$l; fi; done
> g++ -o smtp_wrapper smtp_wrapper.o csocket.o mutex.o -lpthread
> mutex.o: In function
&gt; `std::__simple_alloc&lt;std::_Rb_tree_node&lt;std::pair<unsigned long const,
&gt; int> >, std::__default_alloc_template<;true, 0> >::allocate(unsigned int)':
>; mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKmiEESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x27):
>; undefined reference to `std::__default_alloc_template&lt;true,
>; 0>::allocate(unsigned int)'
> mutex.o: In function `std::__simple_alloc&lt;unsigned long*,
>; std::__default_alloc_template<;true, 0> >::allocate(unsigned int)':
&gt; mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPmSt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
> undefined reference to `std::__default_alloc_template&lt;true,
>; 0>::allocate(unsigned int)'
>; mutex.o: In function `std::__simple_alloc&lt;unsigned long,
> std::__default_alloc_template<;true, 0> >::deallocate(unsigned long*,
>; unsigned int)':
>; mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocImSt24__default_alloc_templateILb1ELi0EEE10deallocateEPmj+0x1d):
> undefined reference to `std::__default_alloc_template&lt;true,
>; 0>::deallocate(void*, unsigned int)'
> mutex.o: In function `std::__simple_alloc&lt;std::pair<int, bool>*,
> std::__default_alloc_template<;true, 0> >::allocate(unsigned int)':
&gt; mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPSt4pairIibESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
&gt; undefined reference to `std::__default_alloc_template&lt;true,
>; 0>::allocate(unsigned int)'
>; mutex.o: In function `std::__simple_alloc&lt;std::pair<int, bool>,
> std::__default_alloc_template<;true, 0> >::deallocate(std::pair<int,
> bool>*, unsigned int)':
>; mutex.cpp: (.gnu.linkonce.t._ZNSt14__simple_allocISt4pairIibESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS1_j+0x1d):
> undefined reference to `std::__default_alloc_template&lt;true,
>; 0>::deallocate(void*, unsigned int)'
>; mutex.o: In function `std::__simple_alloc&lt;unsigned long,
> std::__default_alloc_template<;true, 0> >::allocate(unsigned int)':
>; mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocImSt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
> undefined reference to `std::__default_alloc_template&lt;true,
>; 0>::allocate(unsigned int)'
> mutex.o: In function `std::__simple_alloc&lt;unsigned long*,
>; std::__default_alloc_template<;true, 0> >::deallocate(unsigned long**,
&gt; unsigned int)':
>; mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPmSt24__default_alloc_templateILb1ELi0EEE10deallocateEPS0_j+0x1d):
> undefined reference to `std::__default_alloc_template&lt;true,
&gt; 0>::deallocate(void*, unsigned int)'
> mutex.o: In function `std::__simple_alloc&lt;std::pair<int, bool>,
> std::__default_alloc_template<;true, 0> >::allocate(unsigned int)':
>; mutex.cpp: (.gnu.linkonce.t._ZNSt14__simple_allocISt4pairIibESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
&gt; undefined reference to `std::__default_alloc_template&lt;true,
>; 0>::allocate(unsigned int)'
>; mutex.o: In function `std::__simple_alloc&lt;std::pair<int, bool>*,
> std::__default_alloc_template<;true, 0> >::deallocate(std::pair<int,
> bool>**, unsigned int)':
>; mutex.cpp: (.gnu.linkonce.t._ZNSt14__simple_allocIPSt4pairIibESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS2_j+0x1d):
> undefined reference to `std::__default_alloc_template&lt;true,
>; 0>::deallocate(void*, unsigned int)'
>; mutex.o: In function
&gt; `std::__simple_alloc&lt;std::_Rb_tree_node&lt;std::pair<unsigned long const,
>; int> >, std::__default_alloc_template<;true, 0>
>>::deallocate(std::_Rb_tree_node<std::pair<unsigned long const, int> >*,
&gt; unsigned int)':
>; mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKmiEESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS4_j+0x23):
> undefined reference to `std::__default_alloc_template&lt;true,
&gt; 0>::deallocate(void*, unsigned int)'
> collect2: ld returned 1 exit status
>; make[4]: *** [smtp_wrapper] Error 1
> make[4]: Leaving directory
> `/usr/local/src/campsite/implementation/mailnotify/smtp_wrapper/smtp_wrapper'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/usr/local/src/campsite/implementation/mailnotify/smtp_wrapper'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/usr/local/src/campsite/implementation/mailnotify'
&gt; make[1]: *** [all] Error 1
> make[1]: Leaving directory `/usr/local/src/campsite/implementation'
&gt; make: *** [all] Error 2
>
>;
>
>


[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )