-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Giuseppe Torelli wrote:
> Hi,
> 
> The latest change I committed allows to load an HTML page inside
> Xhelp. You can do the same also from the command line. At this point
> we should decide if we need a left pane so to show all the links
> contained in an 'index.html' file.
> If we decide so, though, I need help to parse all the html links in
> the index.html so to have them linked in a treeview in the left pane.
> 

Hi Giuseppe,
                It's the new guy Tim again :) I can compile the new code fine 
but when
I execute the program it brings up the main window but then it faults
out before I can do anything. I have attached the terminal output of the
error and the outputs from compiling. Any help would be great. Thanks
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGtyDt5ECquZg5P6oRAopcAJsEnbV6ntRiAWaNlvBpz1Tvi1ZEmQCfThjX
uK2VjAc+RWsiKJHtWLLslGk=
=xIRr
-----END PGP SIGNATURE-----
[EMAIL PROTECTED]:~/Projects/xhelp$ xhelp
Segmentation fault (core dumped)
[EMAIL PROTECTED]:~/Projects/xhelp$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No 
such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for library containing strerror... none required
checking for ANSI C header files... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.10.0... yes (version 2.10.11)
checking pkg-config is at least version 0.9.0... yes
checking for GTKHTML... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating xhelp.lsm
config.status: creating xhelp.spec
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
[EMAIL PROTECTED]:~/Projects/xhelp$ sudo make
make  all-recursive
make[1]: Entering directory `/home/tim/Projects/xhelp'
Making all in src
make[2]: Entering directory `/home/tim/Projects/xhelp/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtkhtml-2.0 
-I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include 
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 
-I/usr/include/libpng12 -DPACKAGE_DATA_DIR=\""/usr/local/share"\" 
-DSRCDIR=\"..\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT xhelp-main.o 
-MD -MP -MF ".deps/xhelp-main.Tpo" -c -o xhelp-main.o `test -f 'main.c' || echo 
'./'`main.c; \
        then mv -f ".deps/xhelp-main.Tpo" ".deps/xhelp-main.Po"; else rm -f 
".deps/xhelp-main.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtkhtml-2.0 
-I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include 
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 
-I/usr/include/libpng12 -DPACKAGE_DATA_DIR=\""/usr/local/share"\" 
-DSRCDIR=\"..\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT 
xhelp-callback.o -MD -MP -MF ".deps/xhelp-callback.Tpo" -c -o xhelp-callback.o 
`test -f 'callback.c' || echo './'`callback.c; \
        then mv -f ".deps/xhelp-callback.Tpo" ".deps/xhelp-callback.Po"; else 
rm -f ".deps/xhelp-callback.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtkhtml-2.0 
-I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include 
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 
-I/usr/include/libpng12 -DPACKAGE_DATA_DIR=\""/usr/local/share"\" 
-DSRCDIR=\"..\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT xhelp-gui.o 
-MD -MP -MF ".deps/xhelp-gui.Tpo" -c -o xhelp-gui.o `test -f 'gui.c' || echo 
'./'`gui.c; \
        then mv -f ".deps/xhelp-gui.Tpo" ".deps/xhelp-gui.Po"; else rm -f 
".deps/xhelp-gui.Tpo"; exit 1; fi
gcc  -g -O2   -o xhelp -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 
-lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr 
-lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl 
-lglib-2.0 -lgtkhtml-2 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 
-lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama 
-lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 
-lgmodule-2.0 -ldl -lglib-2.0   xhelp-main.o xhelp-callback.o xhelp-gui.o  
make[2]: Leaving directory `/home/tim/Projects/xhelp/src'
Making all in po
make[2]: Entering directory `/home/tim/Projects/xhelp/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/tim/Projects/xhelp/po'
make[2]: Entering directory `/home/tim/Projects/xhelp'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/tim/Projects/xhelp'
make[1]: Leaving directory `/home/tim/Projects/xhelp'
[EMAIL PROTECTED]:~/Projects/xhelp$ sudo make install
Making install in src
make[1]: Entering directory `/home/tim/Projects/xhelp/src'
make[2]: Entering directory `/home/tim/Projects/xhelp/src'
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
  /usr/bin/install -c 'xhelp' '/usr/local/bin/xhelp'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/tim/Projects/xhelp/src'
make[1]: Leaving directory `/home/tim/Projects/xhelp/src'
Making install in po
make[1]: Entering directory `/home/tim/Projects/xhelp/po'
/home/tim/Projects/xhelp/install-sh -d /usr/local/share/locale
linguas=""; \
        for lang in $linguas; do \
          dir=/usr/local/share/locale/$lang/LC_MESSAGES; \
          /home/tim/Projects/xhelp/install-sh -d $dir; \
          if test -r $lang.gmo; then \
            /usr/bin/install -c -m 644 $lang.gmo $dir/xhelp.mo; \
            echo "installing $lang.gmo as $dir/xhelp.mo"; \
          else \
            /usr/bin/install -c -m 644 ./$lang.gmo $dir/xhelp.mo; \
            echo "installing ./$lang.gmo as" \
                 "$dir/xhelp.mo"; \
          fi; \
          if test -r $lang.gmo.m; then \
            /usr/bin/install -c -m 644 $lang.gmo.m $dir/xhelp.mo.m; \
            echo "installing $lang.gmo.m as $dir/xhelp.mo.m"; \
          else \
            if test -r ./$lang.gmo.m ; then \
              /usr/bin/install -c -m 644 ./$lang.gmo.m \
                $dir/xhelp.mo.m; \
              echo "installing ./$lang.gmo.m as" \
                   "$dir/xhelp.mo.m"; \
            else \
              true; \
            fi; \
          fi; \
        done
make[1]: Leaving directory `/home/tim/Projects/xhelp/po'
make[1]: Entering directory `/home/tim/Projects/xhelp'
make[2]: Entering directory `/home/tim/Projects/xhelp'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/info" || mkdir -p -- "/usr/local/share/info"
test -z "/usr/local/share/man/man1" || mkdir -p -- "/usr/local/share/man/man1"
 /usr/bin/install -c -m 644 './xhelp.1' '/usr/local/share/man/man1/xhelp.1'
make[2]: Leaving directory `/home/tim/Projects/xhelp'
make[1]: Leaving directory `/home/tim/Projects/xhelp'

Attachment: Error.sig
Description: Binary data

Attachment: Configure Output.sig
Description: Binary data

Attachment: Make output.sig
Description: Binary data

Attachment: Make install output.sig
Description: Binary data

-- 
xubuntu-devel mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/xubuntu-devel

Reply via email to