Problem getting gettext to work on running builds

circle.yml

#1

hi everyone.

im trying to run some test builds with CircleCI
the codebase of the project im running builds on is based on the php service: gettext

im running the install command within
dependencies:
override:
in my circle.yml file

my approaches so far is
1: - sudo apt-get install gettext
2: - sudo apt-get intall php-gettext
3: - sudo apt-get install gettext && - sudo apt-get install php-gettext
4: - sudo apt-get install gettext && - sudo apt-get install php-gettext && sudo apt-get update

the error im getting when running my build is following:

[Symfony\Component\Debug\Exception\FatalErrorException]
Call to undefined function Xinax\LaravelGettext\bindtextdomain()

so im doubting if its me that is approaching this problem in a wrong way or anyone else know how to avoid this problem

It prompts me with this error everytime it tries to run an Artisan command

any help is appreciated :slight_smile:


Ubuntu 14.4 + php7 + gettext = living hell
#2

See this post: Ubuntu 14.4 + php7 + gettext = living hell


#3

Hi @FelicianoTech thanks for the reply, i have used that solution and works perfectly thanks to your co-worker @kimh regarding Ubuntu 14.4 + php7 + gettext = living hell

again thanks :slight_smile:


#4

Hi, I just shipped the new build image. Now you don’t have to install PHP manually to get the configure options. Please let me know if you see any problems.


#5