[plug] Problem compiling linphone (command line only)

James Devenish devenish at guild.uwa.edu.au
Tue Nov 11 20:15:18 WST 2003


Hi everyone,

I don't think I can use linphone on the computer I'm currently sitting
at, because of issues with Linux support for audio input, but I will at
least relay my experiences when compiling linphone early today:

I compiled the version Chris suggested (0.12.1pre3) on a Debian
woody/sarge hybrid machine without hassles. (There were various compiler
warnings, as Chris mentioned, but that is just to do with the code
needing a little cleaning up -- it is a pre-release version after all).
./configuration and installation of the --enable-gnomeui=no version went
fine, though I already had GLib 2.2.3 (headers and libraries) installed.
The only things I installed were libosip0 and libosip0-dev. FYI I didn't
have the ogg development files installed.

I also compiled linphone on another host (Debian woody). That host only
had GLib 1.1.3 and 1.2.10 installed. Also, I had to compile libosip0
myself because I did not want to upgrade the host's glibc for the
libosip0 Debian package (which comes from sarge, not woody). On this
host, I encountered a problem in linphone's uglib.h due to a developer's
error. After reordering the lines of code to compensate for that, I
encountered Chris' 'GByteArray' problem. I inserted the line:
typedef struct _GByteArray { guint8 *data; guint len; } GByteArray;
into rtpc.h and then tried `make` again. The compilation proceeded.
So, that is how you can compile the CLI version of linphone.

BTW we were talking about zsh earlier. Its command-line completion
system is not limited to its a priori knowledge of command options.
For example, you can go:

% ./configure --<tab>

to get the list of options provided by that ./configure file (even
though zsh has never seen that file before). zsh is also smart enough
to know that if you go:

% sudo apt-get install <tab>

then it should perform completion for apt-get, not sudo. Maybe bash
is the same.


_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list