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 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:
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 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 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.
>
>
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.
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_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
> int> >, std::__default_alloc_template >::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
> 0>::allocate(unsigned int)'
> mutex.o: In function `std::__simple_alloc
> std::__default_alloc_template >::allocate(unsigned int)':
> mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPmSt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
> undefined reference to `std::__default_alloc_template
> 0>::allocate(unsigned int)'
> mutex.o: In function `std::__simple_alloc
> std::__default_alloc_template >::deallocate(unsigned long*,
> unsigned int)':
> mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocImSt24__default_alloc_templateILb1ELi0EEE10deallocateEPmj+0x1d):
> undefined reference to `std::__default_alloc_template
> 0>::deallocate(void*, unsigned int)'
> mutex.o: In function `std::__simple_alloc*,
> std::__default_alloc_template >::allocate(unsigned int)':
> mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPSt4pairIibESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
> undefined reference to `std::__default_alloc_template
> 0>::allocate(unsigned int)'
> mutex.o: In function `std::__simple_alloc,
> std::__default_alloc_template >::deallocate(std::pair
> bool>*, unsigned int)':
> mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt4pairIibESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS1_j+0x1d):
> undefined reference to `std::__default_alloc_template
> 0>::deallocate(void*, unsigned int)'
> mutex.o: In function `std::__simple_alloc
> std::__default_alloc_template >::allocate(unsigned int)':
> mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocImSt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
> undefined reference to `std::__default_alloc_template
> 0>::allocate(unsigned int)'
> mutex.o: In function `std::__simple_alloc
> std::__default_alloc_template >::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
> 0>::deallocate(void*, unsigned int)'
> mutex.o: In function `std::__simple_alloc,
> std::__default_alloc_template >::allocate(unsigned int)':
> mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt4pairIibESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
> undefined reference to `std::__default_alloc_template
> 0>::allocate(unsigned int)'
> mutex.o: In function `std::__simple_alloc*,
> std::__default_alloc_template >::deallocate(std::pair
> bool>**, unsigned int)':
> mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPSt4pairIibESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS2_j+0x1d):
> undefined reference to `std::__default_alloc_template
> 0>::deallocate(void*, unsigned int)'
> mutex.o: In function
> `std::__simple_alloc
> int> >, std::__default_alloc_template
>>::deallocate(std::_Rb_tree_node >*,
> 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
> 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
>
>
>
>
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_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
> int> >, std::__default_alloc_template >::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
> 0>::allocate(unsigned int)'
> mutex.o: In function `std::__simple_alloc
> std::__default_alloc_template >::allocate(unsigned int)':
> mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPmSt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
> undefined reference to `std::__default_alloc_template
> 0>::allocate(unsigned int)'
> mutex.o: In function `std::__simple_alloc
> std::__default_alloc_template >::deallocate(unsigned long*,
> unsigned int)':
> mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocImSt24__default_alloc_templateILb1ELi0EEE10deallocateEPmj+0x1d):
> undefined reference to `std::__default_alloc_template
> 0>::deallocate(void*, unsigned int)'
> mutex.o: In function `std::__simple_alloc*,
> std::__default_alloc_template >::allocate(unsigned int)':
> mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPSt4pairIibESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
> undefined reference to `std::__default_alloc_template
> 0>::allocate(unsigned int)'
> mutex.o: In function `std::__simple_alloc,
> std::__default_alloc_template >::deallocate(std::pair
> bool>*, unsigned int)':
> mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt4pairIibESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS1_j+0x1d):
> undefined reference to `std::__default_alloc_template
> 0>::deallocate(void*, unsigned int)'
> mutex.o: In function `std::__simple_alloc
> std::__default_alloc_template >::allocate(unsigned int)':
> mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocImSt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
> undefined reference to `std::__default_alloc_template
> 0>::allocate(unsigned int)'
> mutex.o: In function `std::__simple_alloc
> std::__default_alloc_template >::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
> 0>::deallocate(void*, unsigned int)'
> mutex.o: In function `std::__simple_alloc,
> std::__default_alloc_template >::allocate(unsigned int)':
> mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt4pairIibESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x1d):
> undefined reference to `std::__default_alloc_template
> 0>::allocate(unsigned int)'
> mutex.o: In function `std::__simple_alloc*,
> std::__default_alloc_template >::deallocate(std::pair
> bool>**, unsigned int)':
> mutex.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocIPSt4pairIibESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS2_j+0x1d):
> undefined reference to `std::__default_alloc_template
> 0>::deallocate(void*, unsigned int)'
> mutex.o: In function
> `std::__simple_alloc
> int> >, std::__default_alloc_template
>>::deallocate(std::_Rb_tree_node >*,
> 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
> 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
>
>
>
>