MPlayer libavformat/tls_securetransport.c fatal error: Security/Security.h: No such file or directory - mplayer

I am trying to compile MPlayer with ./configure --enable-gui from mplayer-checkout-2015-05-07 on openSUSE 13.2 (Harlequin) (x86_64).
I get the following error:
libavformat/tls_securetransport.c:35:31: fatal error: \
Security/Security.h: No such file or directory #include <Security/Security.h>
This is a new one to me, I am used to coming up the the right devel packages but Yast is no help. I have no Security directory anywhere on my system.

Same problem on Ubuntu 15.04 (x86_64). Solved using updated Mplayer sources via svn checkout and letting ./configure download a new git instance of ffmpeg.
Bye!

Related

example.c:1:22: fatal error: postgres.h: No such file or directory

I'm trying to create my own function (using C) in postgres for which I'm referring this doc: http://www.linuxgazette.cz/139/peterson.html
For compiling - I'm referring: Section 33.9.6 . But, when I run below command:
cc -fpic -c example.c
I get this error:
example.c:1:22: fatal error: postgres.h: No such file or directory
#include "postgres.h"
^
compilation terminated.
I have also installed postgresql-server-dev-all package and tried with the solution provided in this link: How to fix 'postgres.h' file not found problem?
Nothing working for me. Please let me know how I can have postgres.h file.
I'm using postgres-12 on centos -7.
First: If you didn't install PostgreSQL from source, make sure that you installed the headers, which are in the -devel package.
If the problem persists even with the headers installed, the reason is that you forgot to tell the compiler where to look for header files:
cc -fpic -I /location/of/postgres/include -c example.c
To find that location, you can use pg_config:
pg_config --includedir
There is a similar --libdir option to show the library path for when you link the executable.
for ubuntu: apt-get -y install postgresql-server-dev-13 after apt-get -y install postgresql-13

Install phalcon on macOS Mojave

I've just upgraded to Mojave and am trying to install phalcon, it was smooth installation with standard compile installation on macOS previous version (High Sierra),
git clone git://github.com/phalcon/cphalcon.git
cd cphalcon/build
sudo ./install
with Mojave, it gives follow error.
In file included from /usr/include/php/ext/spl/spl_iterators.h:27:
/usr/include/php/ext/pcre/php_pcre.h:29:10: fatal error: 'pcre.h' file not found
#include "pcre.h"
^~~~~~~~
1 error generated.
make: *** [phalcon.lo] Error 1
anyone encounter the same problem? it would be good to know how to get it solved.
Thanks
OK after a few trying, this is what I do to fix it, hope it would help for someone else.
Go to https://www.pcre.org/ and download latest pcre, more specifically,
tar -xzvf pcre-8.42.tar.gz
cd pcre-8.42
./configure --prefix=/usr/local/pcre-8.42
make
make install
ln -s /usr/local/pcre-8.42 /usr/sbin/pcre
ln -s /usr/local/pcre-8.42/include/pcre.h /usr/include/pcre.h
and it went through.
I have Mojave on my Mac, and i installed Phalcon into my Mac through HomeBrew, step by step
1/Install php through brew (with correct version)
2/Install phalcon through brew
Hope it can help you

Setting up Fortran in Eclipse PTP via homebrew

Using homebrew on my El Capitan(10.11.6), i installed java and eclipse-ptp through the following commands:
brew cask install java
brew cask install eclipse-ptp
I have gcc and thus gfortran through homebrew from earlier.
Eclipse PTP got copied into the Apps successfully. I opened the application and created a helloworld demo project and tried to build it. I get the following message in the build console window:
make all
make: gfortran: No such file or directory
gfortran -O2 -g \
-o bin/demo \
src/demo.f90
make: *** [all] Error 1
I glean that this issue maybe due to improper setting of the path variable, what i do fail to understand is:
Given that all the installs happened through homebrew, why is this problem appearing?
How do i fix this issue?

Sipp with pcap installation on windows

I am trying to install sipp with pcap-replay on winows7.
I have installed cygwnin, libncurse, and winpcap. I was trying to patch cygwin with IPv6 using the URL http://cygwin.win6.jp/cygwin-ipv6/, but it couldn't get the setup.ini file.
So I copied to local directory and upgrade, but it said no new updates.
And if I try to complie sipp. it gives error
$ ./configure.ac --with-pcap
./configure.ac: line 3: syntax error near unexpected token [SIPp],'
./configure.ac: line 3:AC_INIT([SIPp], [3.3], [sipp-users#lists.sourceforge.net], [sipp])'
Could anyone help me in getting sipp be installed on windows?
I download sipp.3.3.990 it has ./configure and was able to install on Linux.
But now on windows it still fails saying ncurse is not present. But I have downloaded it.
How do I troubleshoot it from here?
You can follow below steps to generate configure from configure.ac.
$> autoreconf -i
Now, you will see a configure file created at the same location.
To run the above command, following packages are required: automake,ncurses-devel,libncurses,M4 and autoconf.
if any of the above packages are missing run the cygwin setup file again and select the packages on the package selection screen and click install.

Unable to install pyaudio on osx lion

I'd like to install pyaudio on osx lion but i'm unable to do it. Everytime i try with the pkg, it doesn't install anything. When i try to install it with pip i have the following error (among a lot of other lines) :
lipo: can't open input file: /var/folders/11/gfpzwjdd6dj7hbz7dpbvx9y40000gn/T//ccYnQM1k.out (No such file or directory)
error: command '/usr/bin/llvm-gcc' failed with exit status 1
If anyone can help me, thank you.
I had to manually install it to get anything working. You'll need the source distributions for both pyaudio and portaudio.
Firstly I installed portaudio with MacPorts (not from the source distribution):
sudo port install portaudio
pyaudio then refused to install as it couldn't find the pa_mac_core.h and portaudio.h headers. After copying these from the portaudio source distribution include folder into pyaudio's src folder, I had to uncomment line 49 of pa_mac_core.h:
#include <AudioToolbox/AudioToolbox.h>
Doing this allowed me to get pyaudio to install using a simple
sudo python setup.py install
(I probably didn't need superuser for the portaudio install, but pyaudio wouldn't install unless I did it as a superuser)