473,663 Members | 2,838 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

gettext.so

Hi to all,
I'm running php 5.2.5 on Debian etch, with apache 2.0.56.
I need to include, in php.ini, gettext.so library but I didn't find
anything.
I've already install:

apt-get install gettext
apt-get install php-gettext
apt-get install php5-cli
apt-get install php5 php5-common

and so on.
I'm sure to have installed everything but gettext.so still missing.
I tried, also, to compile php 5.2.5 from source, but when running
../configure, it breaks
with this error:
configure: error: no acceptable cc found in $PATH.

I'm going crazy. Where find the gettext.so extension ?

TIA,
paolob

Jun 2 '08 #1
2 4420
On 15 Apr, 23:55, "paolob" <superpablito--no...@inwind.it wrote:
Hi to all,
I'm running php 5.2.5 on Debian etch, with apache 2.0.56.
I need to include, in php.ini, gettext.so library but I didn't find
anything.
I've already install:

apt-get install gettext
apt-get install php-gettext
apt-get install php5-cli
apt-get install php5 php5-common

and so on.
I'm not specifically familiar with gettext nor debian, but...

What files did 'apt-get install gettext' create? Maybe it added
gettext.so but in a directory not referenced by ld.co.conf. Maybe it
installed the lib using a version number number in the name (fix by
creating a symlink).

On my nearest Linux box (RedHat) the gettext package doesn't have a
gettext.so - it does have a /usr/lib/libgettextlib-0.14.6.so,
libgettextsrc-0.14.6.so and preloadable_lib intl.so

Have you tried running a trace on the CLI gettext?
I'm sure to have installed everything but gettext.so still missing.
I tried, also, to compile php 5.2.5 from source, but when running
./configure, it breaks
with this error:
configure: error: no acceptable cc found in $PATH.
You don't have a C compiler installed

C.
Jun 2 '08 #2

"C. (http://symcbean.blogsp ot.com/)" <co************ @gmail.comha scritto
nel messaggio
news:8b******** *************** ***********@2g2 000hsn.googlegr oups.com...
On 15 Apr, 23:55, "paolob" <superpablito--no...@inwind.it wrote:
>Hi to all,
I'm running php 5.2.5 on Debian etch, with apache 2.0.56.
I need to include, in php.ini, gettext.so library but I didn't find
anything.
On my nearest Linux box (RedHat) the gettext package doesn't have a
gettext.so - it does have a /usr/lib/libgettextlib-0.14.6.so,
libgettextsrc-0.14.6.so and preloadable_lib intl.so

Have you tried running a trace on the CLI gettext?
no, i didn't, but i'll try your issue. i think you've right finding the
library inside
/usr/lib/

thank you,
paolob
Jun 2 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1913
by: Daniel CAUSSE | last post by:
Hello, I'm testing gettext on my website but it doesn't work. phpinfo returns correct informations: configure command => '--with-gettext=/usr' GetText Support => enabled I have no problem to create messages.mo and messages.po files. I've created all directories under a 'locale' root directory
1
3625
by: Dave Patton | last post by:
Can someone point me to a definitive source for the answers to the following two questions: 1) In an environment with Redhat Linux 2.4.21-27.0.1, Apache 1.3.31, PHP 4.3.10, and GNU gettext 0.14.1, will using PHP's gettext support along with the GNU gettext utilities work properly? For example, I've seen references to the translated strings in .mo files not always being what appears
14
2612
by: Pierre Rouleau | last post by:
I have a problem writing self-testable modules using doctest when these modules have internationalized strings using gettext _('...'). - The main module of an application (say app.py) calls gettext.install() to install the special _ function inside Python builtin. Other modules, taken from a general purpose collection of Python modules, also support internationalisation and doctest testing. For example:
1
2154
by: Terry Hancock | last post by:
I'm looking at the gettext module for the first time and learning how to write internationalized code in Python. Naturally, I also looked at the original Gnu gettext manual, which mentions that comments can be captured into the .po (.pot?) file for translators' benefit: /* Comment right before the gettext call, obviously in C */ printf(_("Apparently ambiguous string to translate"));
13
3937
by: cantabile | last post by:
Hi, I'm failing to make it work but can't find out what's wrong. Here's what I do : ================ test.py import gettext gettext.install('')
2
3514
by: Thomas W | last post by:
I'm trying to wrap my head around the docs at python.org related to the gettext-module, but I'm having some problem getting it to work. Is there any really simple, step-by-step on how to use this module available? This is my script so far : import gettext gettext.install('test2', '.', unicode=1) lang1 = gettext.translation('test2', languages=)
0
1287
by: redhog | last post by:
I can not get gettext to work at all under PHP. I run ubuntu 6.06.1 LTS, and the php5 package there announces that it supports gettext. Also, php -i sais gettext GetText Support =enabled, so it should be working. Here follows a minimal example that should be working, but isn't (gettext and msgfmt are the normal GNU gettext tools): $ cat foo.php #! /usr/bin/php <?php bindtextdomain($argv, $_ENV);
1
3240
by: James T. Dennis | last post by:
You'd think that using things like gettext would be easy. Superficially it seems well documented in the Library Reference(*). However, it can be surprisingly difficult to get the external details right. * http://docs.python.org/lib/node738.html Here's what I finally came up with as the simplest instructions, suitable for an "overview of Python programming" class: Start with the venerable "Hello, World!" program ... slightly modified
6
2021
by: =?iso-8859-1?B?QW5kcuk=?= | last post by:
I've encountered a problem using gettext with properties while using a Python interpreter. Here's a simple program that illustrate the problem. ============== # i18n_test.py: test of gettext & properties import gettext fr = gettext.translation('i18n_test', './translations',
0
8858
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8771
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8634
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7371
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4182
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2763
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2000
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1757
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.