You are not logged in.
Pages: 1
Hi everyone! Hope you're all having a nice life!
I'm trying to build xfce 4.14, just for the sake of learning and for fun. However, I'm stuck with this error I've no idea how to fix
ie.po:1:2: syntax error
ie.po:1: keyword "ME" unknown
/usr/bin/msgfmt: 2 fatal errors
Makefile:100: instructions failed for target 'ie.gmo'
Any help is much appreciated. Thanks in adavance fro your answers.
NOTE: My system's in Spanish so I've tranlated the error messages, hope it's accurate.
Offline
What exactly are you building? Which package? Can you provide the full commands you issued and the full output?
Have you read through the building Xfce docs?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
What exactly are you building? Which package? Can you provide the full commands you issued and the full output?
Have you read through the building Xfce docs?
Yes, sorry I forgot to mention but I've read building Xfce docs, many times before attempting to do anything so I understood everything it said and according to that
The Xfce packages need to be built in a specific order. If you don't follow this, compile
options might not be available or the configure stage will abort because of missing
dependencies.
xfce4-dev-tools (only required if you build from GIT)
libxfce4util
xfconf
libxfce4ui
garcon, exo
thunar
xfce4-panel, xfce4-settings, xfce4-session, xfdesktop, xfwm4, xfce4-appfinder,
tumbler...
Since I'm not building from GIT I started with libxfce4util Following those instructions I first issued
export PKG_CONFIG_PATH="${PREFIX}/lib/pkgconfig:$PKG_CONFIG_PATH"
replacing {PREFIX} with /opt/xfce4 then I did
export CFLAGS=""
and then
sudo sh ./configure --prefix=/opt/xfce4 && sudo make && sudo make install
had to use sudo before make && make install because I was getting some permissions isuue and that solved it. This is the complete output
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 make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
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 whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.51.0 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.24.1
checking for XML::Parser... ok
checking for perl5... no
checking for perl... perl
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
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 how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-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 a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
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... no
checking for ANSI C header files... (cached) yes
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for gethostname... yes
checking for getpwnam... yes
checking for setlocale... yes
checking for strdup... yes
checking for bind_textdomain_codeset... yes
checking for locale.h... (cached) yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for libintl.h... (cached) yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... (cached) 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
checking for catalogs to be installed... am ar ast be bg bn ca cs cy da de el en_AU en_GB es et eu fi fr gl he hr hu hy_AM hy id ie is it ja kk ko lt lv ms nb nl nn oc pa pl pt_BR pt ro ru si sk sq sr sv th tr ug uk ur_PK ur uz zh_CN zh_HK zh_TW
checking for bind_textdomain_codeset... (cached) yes
checking for locales directory... ${datarootdir}/locale
checking for additional xgettext flags... --keyword=Q_ --from-code=UTF-8
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gobject-2.0 >= 2.42.0... 2.50.3
checking GOBJECT_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
checking GOBJECT_LIBS... -lgobject-2.0 -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for glib-2.0 >= 2.42.0... 2.50.3
checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
checking GLIB_LIBS... -lglib-2.0
checking for gtk-doc... no
configure: WARNING:
You will not be able to create source packages with 'make dist'
because gtk-doc >= 1.9 is not found.
checking for gtkdoc-check... no
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 GTKDOC_DEPS... yes
checking for gobject-introspection... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for vapigen... no
checking whether to build with debugging support... minimum
checking whether /usr/bin/ld -m elf_x86_64 accepts --as-needed... yes
checking whether /usr/bin/ld -m elf_x86_64 accepts -O1... yes
checking whether gcc supports the GNUC visibility attribute... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/version.xml
config.status: creating docs/Makefile
config.status: creating libxfce4util/libxfce4util-1.0.pc
config.status: creating libxfce4util/libxfce4util-config.h
config.status: creating libxfce4util/Makefile
config.status: creating po/Makefile.in
config.status: creating xfce4-kiosk-query/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
Build Configuration:
* Debug Support: minimum
* GNU Visibility: yes
make all-recursive
make[1]: se entra en el directorio '/home/demo/src/libxfce4util-4.14.0/libxfce4util-4.14.0'
Making all in libxfce4util
make[2]: se entra en el directorio '/home/demo/src/libxfce4util-4.14.0/libxfce4util-4.14.0/libxfce4util'
make all-am
make[3]: se entra en el directorio '/home/demo/src/libxfce4util-4.14.0/libxfce4util-4.14.0/libxfce4util'
CC libxfce4util_la-libxfce4util-config.lo
CC libxfce4util_la-libxfce4util-private.lo
CC libxfce4util_la-xfce-fileutils.lo
CC libxfce4util_la-xfce-i18n.lo
CC libxfce4util_la-xfce-kiosk.lo
CC libxfce4util_la-xfce-license.lo
CC libxfce4util_la-xfce-miscutils.lo
CC libxfce4util_la-xfce-posix-signal-handler.lo
CC libxfce4util_la-xfce-rc.lo
CC libxfce4util_la-xfce-rc-config.lo
CC libxfce4util_la-xfce-rc-simple.lo
CC libxfce4util_la-xfce-resource.lo
CC libxfce4util_la-xfce-utf8.lo
CCLD libxfce4util.la
make[3]: se sale del directorio '/home/demo/src/libxfce4util-4.14.0/libxfce4util-4.14.0/libxfce4util'
make[2]: se sale del directorio '/home/demo/src/libxfce4util-4.14.0/libxfce4util-4.14.0/libxfce4util'
Making all in docs
make[2]: se entra en el directorio '/home/demo/src/libxfce4util-4.14.0/libxfce4util-4.14.0/docs'
make[2]: No se hace nada para 'all'.
make[2]: se sale del directorio '/home/demo/src/libxfce4util-4.14.0/libxfce4util-4.14.0/docs'
Making all in po
make[2]: se entra en el directorio '/home/demo/src/libxfce4util-4.14.0/libxfce4util-4.14.0/po'
MSGFMT ie.gmo
ie.po:1:2: syntax error
ie.po:1: palabra clave "ME" desconocida
/usr/bin/msgfmt: se encontraron 2 errores fatales
Makefile:100: fallo en las instrucciones para el objetivo 'ie.gmo'
make[2]: *** [ie.gmo] Error 1
make[2]: se sale del directorio '/home/demo/src/libxfce4util-4.14.0/libxfce4util-4.14.0/po'
Makefile:485: fallo en las instrucciones para el objetivo 'all-recursive'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio '/home/demo/src/libxfce4util-4.14.0/libxfce4util-4.14.0'
Makefile:417: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2
Like I said before my system's in Spanish so some things in that output are in Spanish.By the way, I'm building in antiX running from a usb stick with persistance enabled, that's why /home/demo. Thanks for your reply.
Last edited by moltke (2019-08-17 16:46:17)
Offline
Which version of libxfce4util are you building? Are you getting it from https://archive.xfce.org/src/xfce?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Which version of libxfce4util are you building? Are you getting it from https://archive.xfce.org/src/xfce?
I downloaded a tarbal from here http://archive.xfce.org/xfce/4.14/fat_tarballs/ and extracted it to my home folder. It says it's libxfce4util 4.14.0
Offline
make[2]: se entra en el directorio '/home/demo/src/libxfce4util-4.14.0/libxfce4util-4.14.0/po'
MSGFMT ie.gmo
ie.po:1:2: syntax error
ie.po:1: palabra clave "ME" desconocida
What does the following return?
head /home/demo/src/libxfce4util-4.14.0/libxfce4util-4.14.0/po/ie.po
Edit: also, though not related to this, you don't need to use sudo for "./configure" or "make", only for "make install".
Last edited by ToZ (2019-08-17 19:08:46)
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
make[2]: se entra en el directorio '/home/demo/src/libxfce4util-4.14.0/libxfce4util-4.14.0/po'
MSGFMT ie.gmo
ie.po:1:2: syntax error
ie.po:1: palabra clave "ME" desconocidaWhat does the following return?
head /home/demo/src/libxfce4util-4.14.0/libxfce4util-4.14.0/po/ie.po
Edit: also, though not related to this, you don't need to use sudo for "./configure" or "make", only for "make install".
It retuns
head /home/demo/src/libxfce4util-4.14.0/libxfce4util-4.14.0/po/ie.po
2ME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: Libxfce4util\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-07-02 22:35+0200\n"
I agree, I shouldn't need to issue the sudo command but if I don't I get a permission error:
./configure --prefix=/opt/xfce4 && make && sudo make install
bash: ./configure: Permission denied
Using
sudo sh ./configure --prefix=/opt/xfce4 && sudo make && sudo make install
solves it though.
Offline
There is something wrong with that file - the beginning is all messed up. It should be:
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Translators:
It looks like something got corrupted on the download/extract.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
There is something wrong with that file - the beginning is all messed up. It should be:
# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators:
It looks like something got corrupted on the download/extract.
Yes, that must've been cause out of a hunch I downloaded it again, try the build and it worked! No errors this time! Thanks!
Last edited by moltke (2019-08-17 20:23:03)
Offline
Made it! And broke it lol I wanted to install whisker menu and xfce terminal, I did but that brought along xfce4-panel plus other stuff and somehow broke the whole thing making it kind of ususable, remove them and made things worst lol tried again but don't know why got some errors I didn't before while building libxfceui, something about libtool and private.la...can't remember now. But I learnt the whole process so maybe I give it another shot some time this week (or maybe not) BTW, noticed that "about xfce" box still says "4.12", though the command
xfce4-about --version
does report 4.14. Check it out
Offline
Pages: 1
[ Generated in 0.032 seconds, 7 queries executed - Memory usage: 637.22 KiB (Peak: 670.5 KiB) ]