I have installed glib-2 in GLIB_DIR. As part of make install it copies the header files in GLIB_DIR/install folder. Here's what you need to do: Configure syslog-ng with these options: GLIB_INC_DIR=-I$GLIB_DIR/install/lib/glib-2.0/include -I$GLIB_DIR/install/include/glib-2.0 ./configure CFLAGS="$GLIB_INC_DIR" CPPFLAGS="$GLIB_INC_DIR" (along with other configure options). -----Original Message----- From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Daniel Szmandiuk Sent: Monday, November 12, 2007 4:21 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] Syslog-ng-2.05 Segmentation Fault Just saw this email.. I just posted something very similar... Can you help me with the correct options to set the include paths correctly? Daniel -----Original Message----- From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Shashank Vinchurkar Sent: Tuesday, 13 November 2007 11:13 AM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] Syslog-ng-2.05 Segmentation Fault Hi, I am able to get syslog-ng working on mips64 bit machine. The issue in my case was that I was not compiling syslog-ng with the correct glib-2 header files. The compilation was using the glib header files from the host system where the cross-build was done. I was able to fix the problem by setting the include path (CFLAGS and CPPFLAGS in configure) to the right set of header files. -Shashank -----Original Message----- From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Tim Boyer Sent: Sunday, November 11, 2007 7:08 PM To: 'Syslog-ng users' and developers' mailing list' Subject: Re: [syslog-ng] Syslog-ng-2.05 Segmentation Fault
Tim,
Is there any chance you can send me a copy of your ./configure output (& options) when you compiled syslog-ng?
I want to compare it to mine.
I updated my system to reflect the same versions as your below. Recompiled again, but still syslog-ng still seg faults. Something has to be different!
Simple as it gets... env PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure I'll email you the config.log. -- tim -- _______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html _______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html This email and any attachments transmitted with it are confidential and may contain legally privileged information. If you are not the intended recipient you are prohibited from disclosing, copying or using the information contained in it. If you have received this email in error, please notify the sender immediately by return email and then delete all copies of this transmission together with any attachments. It is the addressee's/recipient's duty to virus scan and otherwise test the email before loading it onto any computer system. IMC Communications does not accept liability in connection with any computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment in relation to this email. For information about our privacy policy, visit the IMC Communications website at www.imc.net.au This email has been checked by IMC's SMTP gateway. -&- _______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html