libxml2 complier
Hi, I have a problem compiling libxml2 from the ports. the error is this: cc -O -pipe -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o .libs/xpath1 xpath1.o -L/usr/local/lib ../../.libs/libxml2.so -lz -liconv -lm -Wl,--rpath -Wl,/usr/local/lib ../../.libs/libxml2.so: undefined reference to `__signbit' gmake[3]: *** [xpath1] Error 1 gmake[3]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18/doc/examples' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18/doc' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18' gmake: *** [all] Error 2 *** Error code 2 Ive tried compiling several different versions of libxml all produce the same error. I contacted the xml list for libxml2 and have been directed towards os help with the compiler, apperntly the compiler includes are not in sync with the installed libc. I know compat4x was installed recently and dont know if this has and relation. I have included the text of the conversation on the libxml list for reference, Ideally I need to get this back up so i can get php-xml to run. Any suggestions here would be useful as I am out of my depth when it come to compilers and how they work. unfortuantly rebuilding the box is out of the question, im away on a busiessness trip about 1 miles from the server :(, so any solution that might be a temporary fix till i can get back next week would be a start Regards Alex -- Alex Shaw ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
libxml2 complier
Hi, I have a problem compiling libxml2 from the ports. the error is this: cc -O -pipe -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o .libs/xpath1 xpath1.o -L/usr/local/lib ../../.libs/libxml2.so -lz -liconv -lm -Wl,--rpath -Wl,/usr/local/lib ../../.libs/libxml2.so: undefined reference to `__signbit' gmake[3]: *** [xpath1] Error 1 gmake[3]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18/doc/examples' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18/doc' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18' gmake: *** [all] Error 2 *** Error code 2 Ive tried compiling several different versions of libxml all produce the same error. I contacted the xml list for libxml2 and have been directed towards os help with the compiler, apperntly the compiler includes are not in sync with the installed libc. I know compat4x was installed recently and dont know if this has and relation. I have included the text of the conversation on the libxml list for reference, Ideally I need to get this back up so i can get php-xml to run. Any suggestions here would be useful as I am out of my depth when it come to compilers and how they work. unfortuantly rebuilding the box is out of the question, im away on a busiessness trip about 1 miles from the server :(, so any solution that might be a temporary fix till i can get back next week would be a start Also worth noting I complied a hello world app to test gcc and it worked dont know how much this will help. Regards Alex -- Alex Shaw Hi, im trying to install libxml2-2.6.18 from the FreeBSD ports, there is a problem with the compile on the system i am using. I have tried several versions of libxml2 and they all return the same error, which means its probably not an issue involved with libxml, but I cant pin down where the error is coming from, or what is causing the problem to occur. I was hoping someone on this list would be able to point me in the direction of what is causing this. The error is: cc -O -pipe -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o .libs/xpath1 xpath1.o -L/usr/local/lib ../../.libs/libxml2.so -lz -liconv -lm -Wl,--rpath -Wl,/usr/local/lib ../../.libs/libxml2.so: undefined reference to `__signbit' paphio:~/XML - grep __signbit *.c paphio:~/XML - grep __signbit *.c include/libxml/*.h paphio:~/XML - Somehow your system or compiler includes are not in synch with your installed libc, sounds bad, but you're right it doesn't sound like a libxml2 problem. The great thing about those systems where everybody recompiles locally is that you don't have the same system as your neighbour, this is also its main drawback, you're on your own to debug the problem... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libxml2 complier
thanks for this ... i ran portupgrade -Rf libxml2 after a little time it returned the following cc -O -pipe -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o .libs/xpath1 xpath1.o -L/usr/local/lib ../../.libs/libxml2.so -lz -liconv -lm -Wl,--rpath -Wl,/usr/local/lib ../../.libs/libxml2.so: undefined reference to `__signbit' gmake[3]: *** [xpath1] Error 1 gmake[3]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18/doc/examples' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18/doc' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/textproc/libxml2. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade2791.2 make** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! textproc/libxml2 (libxml2-2.6.13) (linker error) --- Packages processed: 2 done, 0 ignored, 0 skipped and 1 failed same problem :( regards Alex On Tue, 15 Mar 2005 14:00:17 -0800 Kent Stewart [EMAIL PROTECTED] wrote: On Tuesday 15 March 2005 05:38 am, Alex Shaw wrote: Hi, I have a problem compiling libxml2 from the ports. the error is this: cc -O -pipe -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o .libs/xpath1 xpath1.o -L/usr/local/lib ../../.libs/libxml2.so -lz -liconv -lm -Wl,--rpath -Wl,/usr/local/lib ../../.libs/libxml2.so: undefined reference to `__signbit' gmake[3]: *** [xpath1] Error 1 gmake[3]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18/doc/examples' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18/doc' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18' gmake: *** [all] Error 2 *** Error code 2 Ive tried compiling several different versions of libxml all produce the same error. I contacted the xml list for libxml2 and have been directed towards os help with the compiler, apperntly the compiler includes are not in sync with the installed libc. I know compat4x was installed recently and dont know if this has and relation. I have included the text of the conversation on the libxml list for reference, Ideally I need to get this back up so i can get php-xml to run. Any suggestions here would be useful as I am out of my depth when it come to compilers and how they work. unfortuantly rebuilding the box is out of the question, im away on a busiessness trip about 1 miles from the server :(, so any solution that might be a temporary fix till i can get back next week would be a start Also worth noting I complied a hello world app to test gcc and it worked dont know how much this will help. FWIW, I have rebuilt in on 4-stable and 5-stable and didn't see your problem. I would suspect that you have a dependancy out of date. I don't think a portugrade -Rf libxml2 would take long. IF it fails, it will leave the old version installed. Kent Regards Alex -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html -- Alex Shaw Technical Manager BulletOnline www.bulletonline.com +44(0)2088343442 +44(0)7790744560 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libxml2 complier
I am using 5.3 I did however recently install compat4x ... could that be related ? On Tue, 15 Mar 2005 14:22:31 -0800 Kent Stewart [EMAIL PROTECTED] wrote: On Tuesday 15 March 2005 06:08 am, Alex Shaw wrote: thanks for this ... i ran portupgrade -Rf libxml2 after a little time it returned the following What version of FreeBSD are you running? Could you be using a version that is too old? Kent cc -O -pipe -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o .libs/xpath1 xpath1.o -L/usr/local/lib ../../.libs/libxml2.so -lz -liconv -lm -Wl,--rpath -Wl,/usr/local/lib ../../.libs/libxml2.so: undefined reference to `__signbit' gmake[3]: *** [xpath1] Error 1 gmake[3]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18/doc/examples' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18/doc' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/textproc/libxml2. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade2791.2 make** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! textproc/libxml2 (libxml2-2.6.13) (linker error) --- Packages processed: 2 done, 0 ignored, 0 skipped and 1 failed same problem :( regards Alex On Tue, 15 Mar 2005 14:00:17 -0800 Kent Stewart [EMAIL PROTECTED] wrote: On Tuesday 15 March 2005 05:38 am, Alex Shaw wrote: Hi, I have a problem compiling libxml2 from the ports. the error is this: cc -O -pipe -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o .libs/xpath1 xpath1.o -L/usr/local/lib ../../.libs/libxml2.so -lz -liconv -lm -Wl,--rpath -Wl,/usr/local/lib ../../.libs/libxml2.so: undefined reference to `__signbit' gmake[3]: *** [xpath1] Error 1 gmake[3]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18/doc/examples' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18/doc' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18' gmake: *** [all] Error 2 *** Error code 2 Ive tried compiling several different versions of libxml all produce the same error. I contacted the xml list for libxml2 and have been directed towards os help with the compiler, apperntly the compiler includes are not in sync with the installed libc. I know compat4x was installed recently and dont know if this has and relation. I have included the text of the conversation on the libxml list for reference, Ideally I need to get this back up so i can get php-xml to run. Any suggestions here would be useful as I am out of my depth when it come to compilers and how they work. unfortuantly rebuilding the box is out of the question, im away on a busiessness trip about 1 miles from the server :(, so any solution that might be a temporary fix till i can get back next week would be a start Also worth noting I complied a hello world app to test gcc and it worked dont know how much this will help. FWIW, I have rebuilt in on 4-stable and 5-stable and didn't see your problem. I would suspect that you have a dependancy out of date. I don't think a portugrade -Rf libxml2 would take long. IF it fails, it will leave the old version installed. Kent Regards Alex -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html -- Alex Shaw Technical Manager BulletOnline www.bulletonline.com +44(0)2088343442 +44(0)7790744560 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libxml2 complier
Finally ive managed to solve this problem by copying /usr/lib/libm.so.3 from the backup server onto the corrupt box. this fixed all the problems i was having ..(why oh why didnt I try this earlier) my only problem now is I cant understand why this file may have been changed. The last thing done before the failure was to install compat4x from the ports. Can anyone help me understand what happened or how this file was replaced, my understanding is that ports stuff is installed into / regards Alex On Tue, 15 Mar 2005 13:38:34 + Alex Shaw [EMAIL PROTECTED] wrote: Hi, I have a problem compiling libxml2 from the ports. the error is this: cc -O -pipe -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o .libs/xpath1 xpath1.o -L/usr/local/lib ../../.libs/libxml2.so -lz -liconv -lm -Wl,--rpath -Wl,/usr/local/lib ../../.libs/libxml2.so: undefined reference to `__signbit' gmake[3]: *** [xpath1] Error 1 gmake[3]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18/doc/examples' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18/doc' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.18' gmake: *** [all] Error 2 *** Error code 2 Ive tried compiling several different versions of libxml all produce the same error. I contacted the xml list for libxml2 and have been directed towards os help with the compiler, apperntly the compiler includes are not in sync with the installed libc. I know compat4x was installed recently and dont know if this has and relation. I have included the text of the conversation on the libxml list for reference, Ideally I need to get this back up so i can get php-xml to run. Any suggestions here would be useful as I am out of my depth when it come to compilers and how they work. unfortuantly rebuilding the box is out of the question, im away on a busiessness trip about 1 miles from the server :(, so any solution that might be a temporary fix till i can get back next week would be a start Also worth noting I complied a hello world app to test gcc and it worked dont know how much this will help. Regards Alex -- Alex Shaw Hi, im trying to install libxml2-2.6.18 from the FreeBSD ports, there is a problem with the compile on the system i am using. I have tried several versions of libxml2 and they all return the same error, which means its probably not an issue involved with libxml, but I cant pin down where the error is coming from, or what is causing the problem to occur. I was hoping someone on this list would be able to point me in the direction of what is causing this. The error is: cc -O -pipe -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o .libs/xpath1 xpath1.o -L/usr/local/lib ../../.libs/libxml2.so -lz -liconv -lm -Wl,--rpath -Wl,/usr/local/lib ../../.libs/libxml2.so: undefined reference to `__signbit' paphio:~/XML - grep __signbit *.c paphio:~/XML - grep __signbit *.c include/libxml/*.h paphio:~/XML - Somehow your system or compiler includes are not in synch with your installed libc, sounds bad, but you're right it doesn't sound like a libxml2 problem. The great thing about those systems where everybody recompiles locally is that you don't have the same system as your neighbour, this is also its main drawback, you're on your own to debug the problem... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kernel panic booting 5.3 releng
Hi, Im experiancing a problem while updating my laptop to 5.3. I currently run 5.1-RELEASE version from a while back (should have updated a long time ago I know), on my Dell C840 Latitude. I followed the instructions on http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html cvsuping from the RELENG_5_3 At the point where I reboot into single user mode it all falls over. The new GENERIC kernel fails to boot, stopping after the memory detection with a kernel panic page fault 12. The instruction pointer is 0x8:0xc0621604 Digging about I found the faq here http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/advanced.html#KERNEL-PANIC-TROUBLESHOOTING After following the instructions and running the following nm -n /boot/kernel/kernel | grep 06216 I get the following two functions returned c0621664 t sysctl_bus c0621688 t sysctl_devices From this information can anyone give me an idea of whats going wrong ?, or how/where I might go about fixing it ?. I have included the result of a boot attempt below. ... real memory = 536748032 (511MB) avail memory = 515559424 (491MB) kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode fault virtual address = 0x696370 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0621604 stack pointer = 0x10:0xc0c21d48 frame pointer = 0x10:0xc0c21d58 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= resume, 10PL=0 current process = 0 (swapper) trap number = 12 panic: page fault uptime: 1s I havent gone any further in the update process, as I can still boot my machine using the old kernel now saved to /boot/safe. I didnt want to run the install world if the new kernel wont boot, fearing it would update and overwrite crucial bits of the OS and prevent the laptop from booting the old kernel. I'm lost really in where to go from here or what the best options are to try and get the machine updated correctly. Thanks Alex -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kernel panic booting 5.3 releng
Hi, Im experiancing a problem while updating my laptop to 5.3. I currently run a 5.1-RELEASE version from a while back (should have updated a long time ago I know), on my Dell C840 Latitude. I followed the instructions on http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html cvsuping from RELENG_5_3 At the point where I reboot into single user mode it all falls over. The new GENERIC kernel fails to boot, stopping after the memory detection with a kernel panic page fault 12. The instruction pointer is 0x8:0xc0621604 Digging about I found the faq here http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/advanced.html#KERNEL-PANIC-TROUBLESHOOTING After following the instructions and running the following nm -n /boot/kernel/kernel | grep 06216 I get the following two functions returned c0621664 t sysctl_bus c0621688 t sysctl_devices From this information can anyone give me an idea of whats going wrong ?, or how/where I might go about fixing it ?. I have included the result of a boot attempt below. ... real memory = 536748032 (511MB) avail memory = 515559424 (491MB) kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode fault virtual address = 0x696370 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0621604 stack pointer = 0x10:0xc0c21d48 frame pointer = 0x10:0xc0c21d58 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= resume, 10PL=0 current process = 0 (swapper) trap number = 12 panic: page fault uptime: 1s I havent gone any further in the update process, as I can still boot my machine using the old kernel now saved to /boot/safe. I didnt want to run the install world if the new kernel wont boot, fearing it would update and overwrite crucial bits of the OS preventing the laptop from booting the old kernel. I'm lost really in where to go from here or what the best options are to try and get the machine updated correctly. Thanks Alex -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
backups and devices
Hi, Im trying to decide on a sutable backup procedure for the systems we use. Id like if possible to use a auto mount multiple tape device, that can completly store and retrieve all nesecary data as quickly as possible. There are two locations one needs only data backup, systems are not as important here, as rebuilding from scratch and applying data restore is a lot more feasible, the second location will need full system backups as well as data. Im looking to achieve this with maybe two tape devices. My question is this, What is the best way to go about this, eg what tape devices fitting these specs are known to work well with BSD, what software would easily help me do the backup and restore ?. Im newish to BSD systems admin and am trying to minimise the learning mistakes but getting as much info as possible before I start implementing anything. Thanks in advance for any help Alex ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]