Ive already got V2.2.8 and have found the new version, V3.
I want to install it but would like to go over the commands to do it properly.
The website http://www.glabels.org/doc/install-src/
Commands to install (Note; I’m changing the 2.x.x to a 3.x.x)
sudo apt-get install libgtk2.0-dev libgnomeui-dev libxml2-dev libglade2-dev $ sudo apt-get install libebook1.2-dev (optional)
tar xvfz glabels-2.2.x.tar.gz
cd glabels-2.2.x
./configure
make
sudo make install
Am I doing it correct?
OK, this is tested as working in Ubuntu 11.10 64bit -
sudo apt-get install linux-headers-generic build-essential libgtk-3-dev libgnomeui-dev libxml2-dev libglade2-dev intltool gnome-doc-utils librsvg2-dev libebook1.2-dev
Now download the glabels-3.0.0.tar.bz2 file and put it in your home folder.
then
cd ~
then
tar -xjvf glabels-3.0.0.tar.bz2
then
cd glabels-3.0.0
then
./configure
and if no errors are reported:
make
then
sudo make install
Then because some libraries end up in the wrong place … also run these 2 commands:
sudo cp -v /usr/local/lib/libglabels* /usr/lib/
then
sudo cp -v /usr/local/lib/libglbarcode* /usr/lib/
Problem on the ‘make’ command (near the bottom)
peter@Petes-ubuntu-pc:~$ cd glabels-3.0.0
peter@Petes-ubuntu-pc:~/glabels-3.0.0$ ./configure
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking whether to enable maintainer-specific portions of Makefiles… no
checking whether NLS is requested… yes
checking for style of include used by make… GNU
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
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 intltool >= 0.21… 0.41.1 found
checking for intltool-update… /usr/bin/intltool-update
checking for intltool-merge… /usr/bin/intltool-merge
checking for intltool-extract… /usr/bin/intltool-extract
checking for xgettext… /usr/bin/xgettext
checking for msgmerge… /usr/bin/msgmerge
checking for msgfmt… /usr/bin/msgfmt
checking for gmsgfmt… /usr/bin/msgfmt
checking for perl… /usr/bin/perl
checking for perl >= 5.8.1… 5.12.4
checking for XML::Parser… ok
checking for pkg-config… /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0… yes
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking how to print strings… printf
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 fgrep… /bin/grep -F
checking for ld used by gcc… /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld… yes
checking for BSD- or MS-compatible name lister (nm)… /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface… BSD nm
checking whether ln -s works… yes
checking the maximum length of command line arguments… 1572864
checking whether the shell understands some XSI constructs… yes
checking whether the shell understands “+=”… yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format… func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format… func_convert_file_noop
checking for /usr/bin/ld option to reload object files… -r
checking for objdump… objdump
checking how to recognize dependent libraries… pass_all
checking for dlltool… no
checking how to associate runtime and link libraries… printf %s\n
checking for ar… ar
checking for archiver @FILE support… @
checking for strip… strip
checking for ranlib… ranlib
checking command to parse /usr/bin/nm -B output from gcc object… ok
checking for sysroot… no
checking for mt… mt
checking if mt is a manifest tool… no
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 for dlfcn.h… yes
checking for objdir… .libs
checking if gcc supports -fno-rtti -fno-exceptions… no
checking for gcc option to produce PIC… -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works… yes
checking if gcc static flag -static works… yes
checking if gcc supports -c -o file.o… yes
checking if gcc supports -c -o file.o… (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries… yes
checking whether -lc should be explicitly linked in… no
checking dynamic linker characteristics… 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 gnome-doc-utils >= 0.3.2… no
configure: error: gnome-doc-utils >= 0.3.2 not found
peter@Petes-ubuntu-pc:~/glabels-3.0.0$ make
make: *** No targets specified and no makefile found. Stop.
peter@Petes-ubuntu-pc:~/glabels-3.0.0$
I’ve modified the first command in my last posting … I’d named the libgtk-3-dev package incorrectly.
delete the glabels-3.0.0 directory with:
rm -v ~/glabels-3.0.0
then start again from the beginning of my last posting.
but that first command should have thrown up an error … you MUST look for errors and let us know what they are.
peter@Petes-ubuntu-pc:~/glabels-3.0.0$ rm -v ~/glabels-3.0.0
rm: cannot remove `/home/peter/glabels-3.0.0’: Is a directory
peter@Petes-ubuntu-pc:~/glabels-3.0.0$
Shall I delete it manually?
Sorry, forgot the -r (recursive) option 
You can either delete it manually, or run:
rm -rv ~/glabels-3.0.0
Done…
So I redo the commands in your first posting…
Yup… obviously you can skip the downloading part if you still have glabels-3.0.0.tar.bz2 in your home directory.
the first command will say that most of it is already installed, but run it anyway, cause it’s going to want to install a lot of other stuff too.
You REALLY need to look for errors in the output from commands …there are nearly always clues to what’s missing … in this case there were missing packages you were being warned about when running the ./configure command, so the makefile never got created 
OK, modified again … there are 3 more packages that are needed … then it WILL install, but won’t work until you copy some libraries that got put in the wrong place.
so, delete the glabels-3.0.0 directory again … and follow the modified instructions.
The instructions here:
http://linuxforums.org.uk/index.php?topic=9758.msg69756#msg69756
are now TESTED as working in Ubuntu 11.10 64bit
All looking good so far
but these 2 commands didnt work, no such file or directory
Then because some libraries end up in the wrong place … also run these 2 commands:
Code: [Select]
sudo cp -v /usr/local/lib/libglabels* /usr/lib/
then
Code: [Select]
sudo cp -v /usr/local/lib/libglbarcode* /usr/lib/
Does it work ? … are you using 64bit Ubuntu 11.10 ?
if it doesn’t work, run:
glabels-3
and post the output.
I am using 64bit
glabels-3
Command not found
I cant really tell you when I get errors as I don’t know what I’m looking for
Delete the directory again … and try again.
and this time LOOK FOR ERROR MESSAGES, and post the here … without the errors I CANNOT help you.
This is the first bit
peter@Petes-ubuntu-pc:~$ sudo apt-get install linux-headers-generic build-essential libgtk-3-dev libgnomeui-dev libxml2-dev libglade2-dev intltool gnome-doc-utils librsvg2-dev libebook1.2-dev
[sudo] password for peter:
Reading package lists… Done
Building dependency tree
Reading state information… Done
build-essential is already the newest version.
gnome-doc-utils is already the newest version.
intltool is already the newest version.
libglade2-dev is already the newest version.
libgnomeui-dev is already the newest version.
librsvg2-dev is already the newest version.
libxml2-dev is already the newest version.
linux-headers-generic is already the newest version.
libebook1.2-dev is already the newest version.
libgtk-3-dev is already the newest version.
The following packages were automatically installed and are no longer required:
python-bluez python-compizconfig compiz-plugins-main
libswt-gnome-gtk-3-jni compiz-plugins timidity-daemon timidity
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
peter@Petes-ubuntu-pc:~$
Next bit
[spoiler]peter@Petes-ubuntu-pc:~/glabels-3.0.0$ ./configure
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking whether to enable maintainer-specific portions of Makefiles… no
checking whether NLS is requested… yes
checking for style of include used by make… GNU
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
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 intltool >= 0.21… 0.41.1 found
checking for intltool-update… /usr/bin/intltool-update
checking for intltool-merge… /usr/bin/intltool-merge
checking for intltool-extract… /usr/bin/intltool-extract
checking for xgettext… /usr/bin/xgettext
checking for msgmerge… /usr/bin/msgmerge
checking for msgfmt… /usr/bin/msgfmt
checking for gmsgfmt… /usr/bin/msgfmt
checking for perl… /usr/bin/perl
checking for perl >= 5.8.1… 5.12.4
checking for XML::Parser… ok
checking for pkg-config… /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0… yes
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking how to print strings… printf
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 fgrep… /bin/grep -F
checking for ld used by gcc… /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld… yes
checking for BSD- or MS-compatible name lister (nm)… /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface… BSD nm
checking whether ln -s works… yes
checking the maximum length of command line arguments… 1572864
checking whether the shell understands some XSI constructs… yes
checking whether the shell understands “+=”… yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format… func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format… func_convert_file_noop
checking for /usr/bin/ld option to reload object files… -r
checking for objdump… objdump
checking how to recognize dependent libraries… pass_all
checking for dlltool… no
checking how to associate runtime and link libraries… printf %s\n
checking for ar… ar
checking for archiver @FILE support… @
checking for strip… strip
checking for ranlib… ranlib
checking command to parse /usr/bin/nm -B output from gcc object… ok
checking for sysroot… no
checking for mt… mt
checking if mt is a manifest tool… no
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 for dlfcn.h… yes
checking for objdir… .libs
checking if gcc supports -fno-rtti -fno-exceptions… no
checking for gcc option to produce PIC… -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works… yes
checking if gcc static flag -static works… yes
checking if gcc supports -c -o file.o… yes
checking if gcc supports -c -o file.o… (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries… yes
checking whether -lc should be explicitly linked in… no
checking dynamic linker characteristics… 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 gnome-doc-utils >= 0.3.2… yes
checking for gtkdoc-check… no
checking for gtkdoc-rebase… no
checking for gtkdoc-mkpdf… no
checking whether to build gtk-doc documentation… no
checking for pkg-config… (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16… yes
checking for library containing strerror… none required
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 what warning flags to pass to the C compiler… -Wall -Wmissing-prototypes
checking what language compliance flags to pass to the C compiler…
checking for glib-genmarshal… /usr/bin/glib-genmarshal
checking for gdk-pixbuf-csource… /usr/bin/gdk-pixbuf-csource
checking for gtk-update-icon-cache… /usr/bin/gtk-update-icon-cache
checking for GLABELS… yes
checking for LIBGLABELS… yes
checking for LIBGLBARCODE… yes
checking for LIBEBOOK… yes
checking for Barcode_Create in -lbarcode… no
checking for ZBarcode_Render in -lzint… no
checking for LIBQRENCODE… no
checking for LIBIEC16022… no
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… (cached) /usr/bin/msgfmt
checking for dcgettext… yes
checking if msgfmt accepts -c… yes
checking for gmsgfmt… (cached) /usr/bin/msgfmt
checking for xgettext… (cached) /usr/bin/xgettext
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libglabels/Makefile
config.status: creating libglabels/libglabels-3.0.pc
config.status: creating libglbarcode/Makefile
config.status: creating libglbarcode/libglbarcode-3.0.pc
config.status: creating src/Makefile
config.status: creating src/cursors/Makefile
config.status: creating src/pixmaps/Makefile
config.status: creating data/Makefile
config.status: creating data/desktop/Makefile
config.status: creating data/icons/Makefile
config.status: creating data/icons/16x16/Makefile
config.status: creating data/icons/22x22/Makefile
config.status: creating data/icons/24x24/Makefile
config.status: creating data/icons/32x32/Makefile
config.status: creating data/icons/48x48/Makefile
config.status: creating data/man/Makefile
config.status: creating data/mime/Makefile
config.status: creating data/pixmaps/Makefile
config.status: creating data/schemas/Makefile
config.status: creating data/schemas/org.gnome.glabels-3.gschema.xml.in
config.status: creating data/ui/Makefile
config.status: creating templates/Makefile
config.status: creating po/Makefile.in
config.status: creating help/Makefile
config.status: creating docs/Makefile
config.status: creating docs/libglabels/Makefile
config.status: creating docs/libglbarcode/Makefile
config.status: creating glabels.spec
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
Configuration:
Package ................. glabels-3.0.0
Installation prefix ..... /usr/local
Source code location .... .
Compiler ................ gcc
Optional data merge backends:
Evolution Data Server ... yes
Optional barcode backends:
GNU Barcode ............. no (See http://www.gnu.org/software/barcode/barcode.html)
QR Code ................. no (See http://megaui.net/fukuchi/works/qrencode/index.en.html)
IEC 16022 ............... no (See http://datenfreihafen.org/projects/iec16022.html)
Zint .................... no (See http://www.zint.org.uk)
peter@Petes-ubuntu-pc:~/glabels-3.0.0$[/spoiler]
looks like it did more than last time, hopefully thats a good sign.
I was going to cut n paste it all here for you but it doesn’t keep it all in the terminal window.
[EDIT]
peter@Petes-ubuntu-pc:~$ glabels-3
glabels-3: error while loading shared libraries: libglabels-3.0.so.8: cannot open shared object file: No such file or directory
peter@Petes-ubuntu-pc:~$
???
So is it working ?
if necessary, just post the last say 10 lines or so … because it will halt on an error.
I’ve rebooted since :o
Do you want me to delete and redo again?