Displaying 20 results from an estimated 557 matches for "libintl".
2015 Sep 29
0
[PATCH 2/4] lib: Move <libintl.h> -> files that use it.
Don't include <libintl.h> (for gettext etc) in <guestfs-internal.h>.
Include include it only in files that use internationalized strings.
---
src/appliance.c | 1 +
src/conn-socket.c | 1 +
src/copy-in-out.c | 1 +
src/create.c | 1 +
src/dbdump.c | 1 +
src/drives.c...
2015 Feb 12
3
[PATCH 1/2] run: Set DYLD_LIBRARY_PATH along with LD_LIBRARY_PATH
Mac OS X uses DYLD_LIBRARY_PATH rather than LD_LIBRARY_PATH.
---
run.in | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/run.in b/run.in
index a8c2904..bf7ea1b 100755
--- a/run.in
+++ b/run.in
@@ -77,13 +77,10 @@ fi
2015 Sep 29
8
[PATCH 1/4] lib: actions: Remove some unused header files.
---
generator/c.ml | 2 --
1 file changed, 2 deletions(-)
diff --git a/generator/c.ml b/generator/c.ml
index 055b683..963cf21 100644
--- a/generator/c.ml
+++ b/generator/c.ml
@@ -1213,9 +1213,7 @@ and generate_client_actions hash () =
#include <stdlib.h>
#include <stdint.h>
#include <inttypes.h>
-#include <sys/types.h>
#include <sys/stat.h>
-#include
2015 Feb 12
0
[PATCH 2/2] lib: Check if crypt() comes from a separate library
...in
+++ b/builder/link.sh.in
@@ -19,4 +19,4 @@
# Hack automake to link binary properly. There is no other way to add
# the -cclib parameter to the end of the command line.
-exec "$@" -linkpkg -cclib '-pthread -lpthread -lutils @LIBTINFO_LIBS@ -lcrypt @LIBLZMA_LIBS@ @LIBXML2_LIBS@ @LIBINTL@ -lgnu'
+exec "$@" -linkpkg -cclib '-pthread -lpthread -lutils @LIBTINFO_LIBS@ @LIBCRYPT_LIBS@ @LIBLZMA_LIBS@ @LIBXML2_LIBS@ @LIBINTL@ -lgnu'
diff --git a/configure.ac b/configure.ac
index d68190a..9d95c2c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -590,6 +590,15 @@ AC_AR...
1999 May 17
1
0.64.1 w/Gnome compile error
...src/include -I/usr/local/include
-DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include
-I/usr/local/lib/glib/include -I/usr/openwin/include -c devGNOME.c
In file included from /usr/include/locale.h:47,
from ../include/Defn.h:70,
from devGNOME.c:3:
/usr/include/libintl.h:25: parse error before `const'
/usr/include/libintl.h:26: parse error before `const'
/usr/include/libintl.h:27: parse error before `const'
/usr/include/libintl.h:28: parse error before `const'
/usr/include/libintl.h:29: parse error before `const'
make: *** [devGNOME.o] Error 1...
2011 Apr 13
1
[PATCH libguestfs] include string.h and libintl.h, as needed
This appears to fix the last of the missing includes:
>From 4e8c86d43a330ac79624a78d7ef40aa17f8fb4db Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Wed, 13 Apr 2011 14:34:38 +0200
Subject: [PATCH libguestfs] include string.h and libintl.h, as needed
* df/df.c: As above.
* df/main.c: As above.
* df/output.c: As above.
* fuse/guestmount.c: As above.
* inspector/virt-inspector.c: As above.
* rescue/virt-rescue.c: As above.
---
df/df.c | 3 ++-
df/main.c | 4 +++-
df/output.c...
2014 Nov 04
2
Re: [PATCH 3/9] build: check for libintl, and use it
...iff --git a/align/Makefile.am b/align/Makefile.am
> index 4ecbf7e..92b86b7 100644
> --- a/align/Makefile.am
> +++ b/align/Makefile.am
> @@ -68,6 +68,7 @@ virt_alignment_scan_LDADD = \
> $(top_builddir)/src/libguestfs.la \
> $(LIBXML2_LIBS) \
> $(LIBVIRT_LIBS) \
> + $(LTLIBINTL) \
> ../gnulib/lib/libgnu.la \
> -lm
>
> diff --git a/builder/Makefile.am b/builder/Makefile.am
> index 206abce..f747fc3 100644
> --- a/builder/Makefile.am
> +++ b/builder/Makefile.am
> @@ -168,6 +168,7 @@ OCAMLOPTFLAGS = $(OCAMLCFLAGS)
> OCAMLCLIBS = \
> $(L...
2014 Nov 04
0
Re: [PATCH 3/9] build: check for libintl, and use it
...erly detects
> > whether
> > libint is part of libc.
>
> I'm a little confused by this patch, and also worried that it may be
> reverting commit 75514ab57a.
It is basically looking for whatever provides the *gettext and
bindtextdomain functions, not caring about embedded libintl copies. If
they are in libc (like implemented in GNU libc), then the LIBINTL &
LTLIBINTL variables are empty, otherwise they will contain the library
(usually an external libintl.so).
> Does this require gettextize?
Definitely not; this commit does not change the way messages are
extr...
2011 Jun 28
2
R-Installation on Unix -- "Make: Don't know how to make #. Stop."
...#. Stop." Does anyone has any clues about this message? Thank you very much!
#make
Rmath.h is unchanged
`libRblas.sl' is up to date.
/app/R/R-2.13.0/lib/libRblas.sl is unchanged
`libbz2.a' is up to date.
`libpcre.a' is up to date.
`libz.a' is up to date.
../../../src/include/libintl.h is unchanged
../../../include/libintl.h is unchanged
`charsetalias.h' is up to date.
`libintl.a' is up to date.
`libtre.a' is up to date.
`liblzma.a' is up to date.
Make: Don't know how to make #. Stop.
*** Error exit code 1
Stop.
Hong
[[alternative HTML version deleted]]
2014 Jul 21
1
Problems building Samba 4.x on Solaris 9 and 10 - libintl (again)
Greetings,
Trying to get current, but having problems building samba 4.x on Solaris
9/10.
I've Been trying to build either samba 4.0.19 or 4.1.9 on Sparc boxes
running both Solaris 9 and Solaris 10. I am using gcc 3.4.6 from the
old www.sunfreeware.com site. I also have libintl 3.4.0 from them as well.
My machines are domain member servers in an Active Directory environment
run by folks that are not keen on Samba - yay for me. Currently running
Samba 3.6.24 and one box still on 3.5.8.
I have had issues in the past with Samba 3.5 and 3.6 building and have
had to add...
2014 Nov 11
1
[PATCH] use pkg-config to look up ncurses
...ff --git a/customize/Makefile.am b/customize/Makefile.am
index f9dccd5..64509fd 100644
--- a/customize/Makefile.am
+++ b/customize/Makefile.am
@@ -124,7 +124,7 @@ OCAMLCFLAGS = $(OCAML_FLAGS) $(OCAML_WARN_ERROR) $(OCAMLPACKAGES)
OCAMLOPTFLAGS = $(OCAMLCFLAGS)
OCAMLCLIBS = \
- $(LIBXML2_LIBS) $(LIBINTL) -ltinfo -lcrypt \
+ $(LIBXML2_LIBS) $(LIBINTL) $(LIBCURSES_LIBS) -lcrypt \
-L../src/.libs -lutils \
-L../gnulib/lib/.libs -lgnu
diff --git a/mllib/Makefile.am b/mllib/Makefile.am
index d248a72..112b610 100644
--- a/mllib/Makefile.am
+++ b/mllib/Makefile.am
@@ -99,7 +99,7 @@ OCAMLCFLAGS = $(O...
2009 Sep 02
2
[PATCH] internationalisation: Replace autopoint infrastructure with libintl-perl
I noticed that virt-v2v, which is written exclusively in perl, failed to
generate virt-v2v.pot. After much head scratching I also noticed that
libguestfs.pot didn't include any messages from perl sources. Some reading of
libintl-perl shows that a somewhat more complicated xgettext command line is
required, as it doesn't understand Locale::TextDomain syntax by default. After a
little more head scratching, I decided to replace the autopoint generated
infrastructure with the reference infrastructure from libintl-perl beca...
2007 Aug 14
1
Error when running ./configure
Hi all,
I'm using OSX 10.4.10 (Intel) and get the following errors when
building xapian 1.0.2:
dyld: Library not loaded: /usr/lib/libintl.2.dylib
Referenced from: /opt/local/bin/sed
Reason: image not found
dyld: Library not loaded: /usr/lib/libintl.2.dylib
Referenced from: /opt/local/bin/sed
Reason: image not found
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
dyld:...
2014 Nov 05
2
[PATCH] Use -ltinfo instead of -lncurses.
...ff --git a/customize/Makefile.am b/customize/Makefile.am
index c945685..f9dccd5 100644
--- a/customize/Makefile.am
+++ b/customize/Makefile.am
@@ -124,7 +124,7 @@ OCAMLCFLAGS = $(OCAML_FLAGS) $(OCAML_WARN_ERROR) $(OCAMLPACKAGES)
OCAMLOPTFLAGS = $(OCAMLCFLAGS)
OCAMLCLIBS = \
- $(LIBXML2_LIBS) $(LIBINTL) -lncurses -lcrypt \
+ $(LIBXML2_LIBS) $(LIBINTL) -ltinfo -lcrypt \
-L../src/.libs -lutils \
-L../gnulib/lib/.libs -lgnu
diff --git a/mllib/Makefile.am b/mllib/Makefile.am
index 567ff84..d248a72 100644
--- a/mllib/Makefile.am
+++ b/mllib/Makefile.am
@@ -99,7 +99,7 @@ OCAMLCFLAGS = $(OCAML_FLA...
2011 Mar 28
1
Build error with Samba 3.5.6
I'm trying to build Samba 3.5.6 with winbind enabled on a Solaris 10
machine and I've hit the following errors:
Error without -lintl in the Makefile:
Undefined first referenced
symbol in file
libintl_gettext utils/net.o (symbol belongs to
implicit dependency /usr/local/lib/libintl.so.8)
libintl_textdomain utils/net.o (symbol belongs to
implicit dependency /usr/local/lib/libintl.so.8)
libintl_bindtextdomain utils/net.o (symbol belongs to
impli...
2014 Nov 04
0
[PATCH 3/9] build: check for libintl, and use it
...ged, 44 insertions(+), 8 deletions(-)
diff --git a/align/Makefile.am b/align/Makefile.am
index 4ecbf7e..92b86b7 100644
--- a/align/Makefile.am
+++ b/align/Makefile.am
@@ -68,6 +68,7 @@ virt_alignment_scan_LDADD = \
$(top_builddir)/src/libguestfs.la \
$(LIBXML2_LIBS) \
$(LIBVIRT_LIBS) \
+ $(LTLIBINTL) \
../gnulib/lib/libgnu.la \
-lm
diff --git a/builder/Makefile.am b/builder/Makefile.am
index 206abce..f747fc3 100644
--- a/builder/Makefile.am
+++ b/builder/Makefile.am
@@ -168,6 +168,7 @@ OCAMLOPTFLAGS = $(OCAMLCFLAGS)
OCAMLCLIBS = \
$(LIBLZMA_LIBS) \
$(LIBXML2_LIBS) \
+ $(LIBINTL) \...
2015 Jul 11
2
C coding tips please / Localisation
...for rsync?" topic. :(
So far, I have determined that there are at least 4 files that need
translations for rsync. They are the following.
main.c
flist.c
log.c
progress.c
For my initial test I only made the following modifications.
main.c
------
I added the following line ...
#include <libintl.h>
... to the following section of code near the top of the file.
#include "rsync.h"
#include "inums.h"
#include "io.h"
#if defined CONFIG_LOCALE && defined HAVE_LOCALE_H
#include <libintl.h>
#include <locale.h>
#endif
extern int verbose;
Fur...
2007 Jan 30
1
Solaris 10 compilation issue
...-L../../lib
-lRblas -R/usr/local/lib/64 -R/usr/sfw/lib/64 -R/lib/amd64
-R/opt/SUNWspro/lib/amd64 -L/opt/SUNWspro/lib/amd64
-L/opt/SUNWspro/prod/lib/amd64 -L/usr/lib/amd64 -lfui -lfai -lfsu
-lsunmath -lmtsk -lm ../extra/zlib/libz.a ../extra/bzip2/libbz2.a
../extra/pcre/libpcre.a ../extra/intl/libintl.a -lreadline -ltermcap
-lnsl -lsocket -ldl -lm
Undefined first referenced
symbol in file
cg_ registration.o
ch_ registration.o
rg_ registration.o
rs_...
2007 Jan 30
1
Difficulty with compiling R-2.4.1 on solaris 10
...th.a -L../../lib
-lRblas -R/usr/local/lib/64 -R/usr/sfw/lib/64 -R/lib/amd64
-R/opt/SUNWspro/lib/amd64 -L/opt/SUNWspro/lib/amd64
-L/opt/SUNWspro/prod/lib/amd64 -L/usr/lib/amd64 -lfui -lfai -lfsu
-lsunmath -lmtsk -lm ../extra/zlib/libz.a ../extra/bzip2/libbz2.a
../extra/pcre/libpcre.a ../extra/intl/libintl.a -lreadline -ltermcap
-lnsl -lsocket -ldl -lm
Undefined first referenced
symbol in file
cg_ registration.o
ch_ registration.o
rg_ registration.o
rs_...
2015 Sep 29
0
[PATCH 4/4] lib: Remove unused header files.
...ib.h>
#include <stdarg.h>
#include <unistd.h>
#include <string.h>
-#include <fcntl.h>
-#include <time.h>
#include <sys/stat.h>
-#include <sys/select.h>
#include <sys/types.h>
#include <sys/wait.h>
-#include <utime.h>
#include <libintl.h>
-#include "glthread/lock.h"
#include "ignore-value.h"
#include "guestfs.h"
#include "guestfs-internal.h"
-#include "guestfs-internal-actions.h"
-#include "guestfs_protocol.h"
/* Old-style appliance is going to be obsoleted....