Having problems installing PHP GTK on a Mac running OS X 10.7.5 - php-gtk

A colleague and I are attempting to install PHP GTK on a Mac running OS X 10.7.5. When we try to install phpize, which is necessary for PHP GTK to run, we get the following error message:
lib-mug182:php-gtk vika$ sudo ./buildconf --with-phpize=/usr/bin/phpize
Password:
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
rebuilding aclocal.m4
rebuilding configure
make[1]: autoconf: No such file or directory
make[1]: *** [configure] Error 1
make: *** [all] Error 2
It looks like it cannot find autoconf. I am not familiar with Macs, so I'm not sure how to proceed at this point.
We have tried to follow instructions on the PHP GTK website specific to installing php gtk on a Mac (available at http://gtk.php.net/manual/en/tutorials.installation.macosx.php
and
http://gtk.php.net/manual/en/tutorials.installation.macosx-stepbystep.php ) and have gotten to this point in the directions where we got stuck:
>Step 7 - Getting PHP-GTK2
>
Instead of using current CVS, you might want to use the latest official version from the >PHP-GTK2 download page.
Leave X11 open to be on the safe side. phpize and php-config should be both in /opt/local
/bin/. Check that before you run this. In Terminal, type:
sudo cvs -d :pserver:cvsread#cvs.php.net:/repository co php-gtk
cd php-gtk
sudo ./buildconf --with-phpize=/opt/local/bin/phpize
sudo ./configure --with-php-config=/opt/local/bin/php-config
sudo make
sudo make install
Thanks for any suggestions you have.

Just try this installer. It is in portuguese, but it is easy to translate:
http://www.php-gtk.com.br/mac

Related

Ubuntu WSL is listed in Clion toolchains but says "not found"

Unlike this question or this one, CLion seems to detect the WSL correctly:
You can see that Ubuntu-20.04 is listed but still not found :
Versions :
Windows 10 : 1803
WSL : 1 (since windows 1803 does not support WSL 2)
WSL Distrib : Ubuntu 20.04 from Windows store
CLion : 2021.2.3
Has anyone ever faced this issue?
The issue seem to be, that clion can't find the cmake, C compiler, or C++ compiler of the WSL. My guess is that you haven't installed those yet.
You can install gcc with:
sudo apt install build-essential
This article explains how to build cmake:
Go to — https://cmake.org/files/ That shows all the list of the versions of cmake, I use cmake-3.15.0-rc1.tar.gz.
Open your terminal or bash and download it.
wget https://cmake.org/files/v3.15/cmake-3.15.0-rc1.tar.gz
After downloading, then untar.
tar -xvzf cmake-3.15.0-rc1.tar.gz
cd cmake-3.15.0-rc1/
./bootstrap
sudo make
sudo make install
cd /bin/
sudo cp cmake /usr/bin/
Now don’t forget we are currently in cmake-3.15.0-rc1/ just go back by entering cd ... that takes you up one directory back.
Now copy the directory to /usr/bin/share
sudo cp -r cmake-3.15.0-rc1/ /usr/share/cmake-3.15
export CMAKE_ROOT=/usr/share/cmake-3.15
After you have done that, clion should be able to detect everything correctly.
I asked the CLion support and this if the answer (which fixed my problem)
Actually, the best way to solve this is to update Windows. If it's not possible, then in CLion go to Help | Find Action, type "Registry...", select it and in the opened list find and and disable the wsl.execute.with.wsl.exe option. It should help.

Robo3t crashing in ubuntu 16.04 and above version (This application failed to start because it could not find or load the Qt platform plugin "xcb")

When i starting robo3t in ubuntu 16.04 version it is not opening, the error is show below like
error:
sony#sony:~/Documents/installed/robo3t-1.1.1-linux-x86_64-c93c6b0/bin$ ./robo3t
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: xcb.
Reinstalling the application may fix this problem.
Aborted (core dumped)
The issue is because if libstdc++ folder library's simply make backup and start robot3t. Follow the given steps below and its working fine
solution:
mkdir ~/robo-backup
mv robo3t-1.1.1-linux-x86_64-c93c6b0/lib/libstdc++* ~/robo-backup/
robo3t-1.1.1-linux-x86_64-c93c6b0/bin/robo3t
if you try to install latest version of robomobo that call be now robo3t. Or you try install on ubuntu 16.04 follow the below step and your robomongo install
Download latest robomongo tar file
wget https://download.robomongo.org/1.1.1/linux/robo3t-1.1.1-linux-x86_64-c93c6b0.tar.gz
Extract it
tar -xvzf https://download.robomongo.org/1.1.1/linux/robo3t-1.1.1-linux-x86_64-c93c6b0.tar.gz
Make a directory
mkdir ~/robo-backup
Move robo3t-1.1.1-linux-x86_64-c93c6b0/lib/libstdc++ direcotry to ~/robo-backup/ direcotory
mv robo3t-1.1.1-linux-x86_64-c93c6b0/lib/libstdc++* ~/robo-backup/
Run the robo3t
robo3t-1.1.1-linux-x86_64-c93c6b0/bin/robo3t
Simply remove the lib/libstdc++* will work.
source

Configuring PyQt5, fatal error U1077

I'm trying to run the configure.py for PyQt5 from git bash, but it errors out, giving me a Fatal Error U1077. Some other people have encountered this problem, and I've been trying some of the stuff that other people have been saying, but I'm kind of new to this and it's pretty confusing.
The important section is "fatal error U1077: '.\cl.EXE' : return code '0x000135' " but I don't really know what that means.
Here are the complete steps to configure and install PyQt5 from source, you will need first to run command :
python configure.py
At this step, you did not install PyQt5, you only configured it (basically its installation dir, etc...), Do not specify your qmake path.
Next step is to source your environment variables by running in terminal :
"C:\Qt\Qt5.x.x\5.x\msvc2015\bin\qtenv2.bat"
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
Replace the x by your version of Qt. Keep the double quotes, windows does not like spaces ...
Be careful to specify your Visual Studio installation. In windows, "make" is substituted by "nmake" !
the second command will change your path to Visual Studio, just stay in the same terminal and return to your PyQt5 path.
Then you run :
nmake
nmake install
You may encounter an error when you compile QtNfc. Then use :
python configure.py --disable QtNfc
and re-compile everything.
Hope this will helps.
You don't need Git Bash to install PyQt5 on Windows you can use the Windows command prompt. Here is a step by step guide to install PyQt5 using Qt5.5 on Windows (if you are interested in a newer version you just need to adapt the paths):
Download and install Qt5.5.1 + Mingw32
Download and uncompress SIP
Download and uncompress PyQt5.5.1
Bring up command prompt window, navigate to the uncompressed SIP directory, and type the following:
> PATH=C:\Qt\5.5\mingw492_32\bin;C:\Qt\Tools\mingw492_32\bin;%PATH%
> python configure.py -p win32-g++
> mingw32-make
> mingw32-make install
Using the same command prompt window, navigate to the uncompressed PyQt5 directory, and type the following:
> python configure.py --spec win32-g++ --disable QtPositioning --no-qsci-api --no-designer-plugin --no-qml-plugin --confirm-license
> mingw32-make
> mingw32-make install
NOTE #1: that disabling QtPositioning is not really necessary, but sometime the compiler complains that it's not able to locate the qgeolocation.h header, so leave it disabled unless you really need it.
NOTE #2: To date, I was not able to compile the 5.7 version of PyQt5, not the 5.6 version (for some unexplainable errors that I couldn't solve). This is why I wrote this little installation tutorial using PyQt5.5.

Plone Unified Installer missing Python

I'm trying to install plone 4.3.4 on a SLES 11 SP3 64bit server via the Unified Installer. I've fullfilled all the dependencies listed in the readme.txt, but when I try to get the installer running with the command sudo ./install.sh --password=******* standalone I get the error message: which: no python2.7 in (/usr/bin:/bin:/usr/sbin:/sbin) Unable to find python2.7 on system exec path.
I find that rather strange as in the description of the unified installer it is said "The new Zope/Plone install will use its own copy of Python, and the Python installed by the Unified Installer will not replace your system's copy of Python. You may optionally use your system (or some other) Python, and the Unified Installer will use it without modifying it or your site libraries." on the Plone-Website.
So - what am I doing wrong???
I've just tried adding the parameter --build-python but had to find out that the libxml2-devel and libxslt-devel libraries that are available for SLES-11-SP-3 are sadly not up-to-date enough 2.7.6 instead of 2.7.8 and 1.1.24 instead of 1.1.26 respectively. So no joy there either. :-(
Is there any way to install the current version of plone on SLES 11 SP3 64bit?
Kate
The installer command:
./install.sh standalone --build-python --static-lxml=yes
worked perfectly for me. The installer downloaded and built the Python and libxml2/libxslt components necessary to remedy the terribly out-of-date (and vulnerable) versions included with sles11sp3.
System packages needed for the build were:
gcc-c++
make
readline-devel
libjpeg-devel
zlib-devel
patch
libopenssl-devel
libexpat-devel
man
All installed via zypper.
I'd advise not using sudo for the install. If you want to, you'll need to create the plone_daemon and plone_buildout users and the plone_group group in advance due to oddities in SUSE's adduser implementation.

Installing gearman on windows 7 through cygwin and get "configure: error: Unable to find libevent"

I'm a newbie trying to install gearman on windows through cygwin using the tutorial here: http://www.phpvs.net/2010/11/30/installing-gearman-and-gearmand-on-windows-with-cygwin/
I need to install gearman to develop on my windows 7 laptop.
I've installed libevent in my C:\cygwin\libeventInstall directory but when I do a ./configure on gearman it gives me the error: configure: error: Unable to find libevent
I've read that I need to install libevent-devel. I don't know what libevent-devel is and how I go about installing it through cygwin. I've found a bunch of .rpm install files for libevent-devel but I don't think I can install that on windows. I've also found a libevent-devel-2.0.11-1.tar.bz2 but it contains a bunch of header files and no configure file. There doesn't seem to be any documentation on exactly how to install libevent-devel on cygwin.
Been stuck for a few days. Any pointers would be helpful. Thanks!
You need to build LibEvent, it is not included in Cygwin. I haven't tried this, but a google search led to the following instructions:
you need
http://win6.jp/Cygwin/cygwin-1.5.25-15-ipv6-0.22.zip
http://monkey.org/~provos/libevent-1.4.9-stable.tar.gz
unpack cygwin-1.5.25-15-ipv6-0.22.zip into you cygwin folder about this files read site http://win6.jp/Cygwin/
in libevent http.c file add line ---> #define EAI_SYSTEM 11
now install libevent
./configure
make
make install
I also found this SO thread interesting since the Libevent devs were commenting.
Gave up on using cygwin. Tried a reinstalling libevent as per the above and re-running gearman ./configure and the "configure: error: Unable to find libevent" persists.
Took James Butler's advice and am using virtualbox instead. Thanks.

Resources