Remmina for Mac OS X build instructions

Hi. I’ve managed to build and run Remmina on Mountain Lion Mac OS X.

Let’s see how it was done.

Remmina source code download

Just download suggested source code from github. In my case I downloaded Remmina-1.0.0.tar.gz .

Remmina requisites install

cmake

Cmake provides a mdg package for installing in Mac OS X.

Macports

Macports is not an actual Remmina dependency but I will use it for installing other Remmina dependencies from the terminal without too many problems.

Xcode and CLI tools for Xcode (Mac Ports requisite)

If you want to build mostly anything you’re recommended to install Xcode. You just download it from the Apple developer.

I’m not quite sure right now if you need to install it in order to build Remmina.

  • Install Xcode
    (When opening inside what seems to be a folder please move it to Applications).

    sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
  • Install CLI tools for Xcode
  • sudo xcodebuild -license

    Press q an then agree if you agree.

Macports installation

Macports provides a pckg package for installing in Mac OS X.

Other remmina dependencies

After so many tries here there are most of the packages that Remmina needs in a single command.
Open a terminal and run:

sudo port install pkgconfig libgcrypt libgcrypt \
gtk2 libssh vte xorg-libxkbfile libtelepathy \
libgnome-keyring avahi p5-locale-gettext \
libgcrypt

Freerdp

This is an special requisite that it’s needed by Remmina in order to allow it to make RDP connections.

Freerdp dependencies

These freerdp dependencies are supposed to be handled automatically by homebrew (see below). As I didn’t think that there was an specific brew I tried to handle the depencies manually. These are the commands that I issued:

sudo port install xorg-libXv

Freerdp – Download source code

We download FreeRDP tar.gz. I downloaded freerdp-1.0.1.tar.gz.

Freerdp – Source code hack for boolean issue

This one was a very difficult bug to catch. I still don’t know if it’s a bug or not. I probably think it’s a compiler bug, or maybe the linker… I think somebody more expert than I am should take a look at it.

We will edit file:

channels/rdpdr/printer/printer_cups.c

and add these three lines:

#ifndef __MY_OWN_TEST_H
#define __MY_OWN_TEST_H
typedef int boolean;
#endif /* __MY_OWN_TEST_H */

just before line:

#include

Freerdp build

As I have already said I didn’t know I could use homebrew so I tried to build it manually. However as I needed to edit printer_cups.c I finally had to build it manually.

This is not working for us:

cmake -D "CMAKE_OSX_ARCHITECTURES:STRING=i386;x86_64"

.
So we will do:

cmake -D "CMAKE_OSX_ARCHITECTURES:STRING=x86_64" .

Then we could do:

make

Freerdp – Homebrew

From a terminal we run:

ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"

Freerdp – Xquartz

Not sure why but according to my notes Xquartz is a dependency of Freerdp. Maybe trying to install freerdp from homebrew it tells you to install it manually.

Xquartz can be download and installed as a dmg.
Once installed you’ll need to logout and login.

Freerdp – Final install with Homebrew

brew install freerdp
brew link freerdp

Remmina build preparation

cmake

In order to prepare Remmina build we will issue:

cmake --build=build .

Libraries link hack for Mac OS X

You need to add

-lX11 -L/usr/X11/lib -I/usr/X11/include \
-L/opt/local/lib -lglib-2.0 -lgthread-2.0 \
-lgmodule-2.0

and the result of running:

pkg-config --cflags --libs gtk+-2.0

to the lines found at these files:

remmina/CMakeFiles/remmina.dir/link.txt
remmina-plugins/nx/CMakeFiles/remmina-plugin-nx.dir/link.txt
remmina-plugins/xdmcp/CMakeFiles/remmina-plugin-xdmcp.dir/link.txt
remmina-plugins/rdp/CMakeFiles/remmina-plugin-rdp.dir/link.txt
remmina-plugins/telepathy/CMakeFiles/remmina-plugin-telepathy.dir/link.txt
remmina-plugins/vnc/CMakeFiles/remmina-plugin-vnc.dir/link.txt
remmina-plugins-gnome/CMakeFiles/remmina-plugin-gnome.dir/link.txt

So what you have to add is:

-lX11 -L/usr/X11/lib -I/usr/X11/include \
-L/opt/local/lib -lglib-2.0 -lgthread-2.0 \
-lgmodule-2.0 -D_REENTRANT \
-I/opt/local/include/gtk-2.0 \
-I/opt/local/lib/gtk-2.0/include \
-I/opt/local/include/atk-1.0 \
-I/opt/local/include/cairo \
-I/opt/local/include/gdk-pixbuf-2.0 \
-I/opt/local/include/pango-1.0 \
-I/opt/local/include/gio-unix-2.0/ \
-I/opt/local/include \
-I/opt/local/include/glib-2.0 \
-I/opt/local/lib/glib-2.0/include \
-I/opt/local/include/pixman-1 \
-I/opt/local/include/freetype2 \
-I/opt/local/include/libpng15 \
-L/opt/local/lib -lgtk-x11-2.0 \
-lgdk-x11-2.0 -latk-1.0 \
-lpangocairo-1.0 -lXrender \
-lXinerama -lXi -lXrandr \
-lXcursor -lXcomposite \
-lXdamage -lgdk_pixbuf-2.0 \
-lpangoft2-1.0 -lgio-2.0 \
-lXfixes -lcairo -lX11 -lXext \
-lpango-1.0 -lm -lfreetype \
-lfontconfig -lgobject-2.0 \
-lglib-2.0 -lintl

Path modification so that system sources are found

Add this string (initial space included)

 -I/opt/local/include

to the C_FLAGS variable found on all of these files:

remmina-plugins/xdmcp/CMakeFiles\
/remmina-plugin-xdmcp.dir/flags.make

remmina-plugins/rdp/CMakeFiles\
/remmina-plugin-rdp.dir/flags.make

remmina-plugins/telepathy/CMakeFiles\
/remmina-plugin-telepathy.dir/flags.make

remmina-plugins/vnc/CMakeFiles\
/remmina-plugin-vnc.dir/flags.make

remmina-plugins/vnc/libvncserver\
/CMakeFiles/vncclient.dir/flags.make

so that you add to the C_FLAGS variable:

Telepathy hacks

Actually I didn’t build Telepathy because I found out problems. I write the instructions because if I tried it again I would try the suggested hack. You can skip these steps if you’re interested in Telepathy plugin.

Telepathy build make hack

We will edit also:

remmina-plugins/telepathy/CMakeFiles\
/remmina-plugin-telepathy.dir/build.make

to add these lines:

remmina-plugins/telepathy/CMakeFiles\
/remmina-plugin-telepathy.dir\
/telepathy_handler.c.o: remmina-plugins\
/telepathy/CMakeFiles\
/remmina-plugin-telepathy.dir/flags.make

remmina-plugins/telepathy/CMakeFiles\
/remmina-plugin-telepathy.dir\
/telepathy_handler.c.o: \
remmina-plugins/telepathy/telepathy_handler.c

$(CMAKE_COMMAND) -E cmake_progress_report \
/Users/adrian/remminadev\
/FreeRDP-Remmina-356c033/CMakeFiles \
$(CMAKE_PROGRESS_1)

@$(CMAKE_COMMAND) -E cmake_echo_color \
--switch=$(COLOR) --green "Building \
C object remmina-plugins/telepathy\
/CMakeFiles/remmina-plugin-telepathy.dir\
/telepathy_handler.c.o"

cd /Users/adrian/remminadev\
/FreeRDP-Remmina-356c033/remmina-plugins\
/telepathy && /usr/bin/cc \
-I/opt/local/include/dbus-1.0 \
$(C_DEFINES) $(C_FLAGS) -o \
CMakeFiles/remmina-plugin-telepathy.dir\
/telepathy_handler.c.o -c /Users/adrian\
/remminadev/FreeRDP-Remmina-356c033\
/remmina-plugins/telepathy/telepathy_handler.c

just before the first line that begins with:

remmina-plugins/telepathy/CMakeFiles\
/remmina-plugin-telepathy.dir/telepathy_plugin.c.o

In the same file add this line:

remmina-plugins/telepathy\
/remmina-plugin-telepathy.dylib: \
remmina-plugins/telepathy/CMakeFiles\
/remmina-plugin-telepathy.dir/telepathy_handler.c.o

just before the first line that begins with:

remmina-plugins/telepathy/remmina-plugin-telepathy.dylib:

Telepathy link hack

We also have to install to edit:

remmina-plugins/telepathy/CMakeFiles\
/remmina-plugin-telepathy.dir/link.txt

file so that:

CMakeFiles/remmina-plugin-telepathy.dir\
/telepathy_plugin.c.o

becomes:

CMakeFiles/remmina-plugin-telepathy.dir\
/telepathy_plugin.c.o CMakeFiles\
/remmina-plugin-telepathy.dir/telepathy_handler.c.o

Telepathy link additional hack

We need to edit:

remmina-plugins/telepathy/CMakeFiles\
/remmina-plugin-telepathy.dir/link.txt

again so that we add:

-I/opt/local/lib/

.

Telepathy final build error

Unfortunately I was unable to build and the error message was:

"_dbus_g_connection_register_G_OBJECT"\
, referenced from:_remmina_tp_handler_new \
in telepathy_handler.c.o
while inside:
/opt/local/lib/libdbus-glib-1.2.dylib
the reference is:
_dbus_g_connection_register_g_object

Telepathy possible hack

Now after all the builds I’ve made I think that probably the fix is to replace:

dbus_g_connection_register_G_OBJECT

to:

dbus_g_connection_register_g_object

in

remmina-plugins/telepathy/telepathy_handler.c

file but I have not tested it.

Disabling Telepathy

Note: Probably editing a CMake definition files you can disable Telepathy plugin alltoghether but as I decided not to fix problems thanks to CMake but to Makefiles you will see that it’s a bit dirty hack.

If you want to test telepathy later I recommend you to backup the files we are going to modify right now.

We just edit:

Makefile

and remove any lines that contains telepathy.

We will also edit:

remmina-plugins/CMakeLists.txt

to remove telepathy references.

Vnc hacks

We will edit:

remmina-plugins/vnc/CMakeFiles\
/remmina-plugin-vnc.dir/link.txt

again to replace:

/opt/local/lib/libjpeg.dylib

so that it reads:

/opt/local/lib/libjpeg.dylib \
/opt/local/lib/libgcrypt.dylib

We will edit:

remmina/src/remmina_plugin_manager.

and replace

if (g_strcmp0(ptr,G_MODULE_SUFFIX) != 0)

to

if (g_strcmp0(ptr, "dylib") != 0)

RDP hacks

We need to do edit:

remmina-plugins/rdp/CMakeFiles\
/remmina-plugin-rdp.dir/link.txt

again to add the line:

/usr/local/lib/libfreerdp-utils.dylib \
/usr/local/lib/libfreerdp-cache.dylib

Remmina final build

From the terminal run:

make

.

Remmina installation

From the terminal run:

sudo make install

.

Remmina. How to run

If you wish to run it from the CLI you can:

/usr/local/bin/remmina

or even with:

remmina

Build instructions and upstream

Here there are some considerations that might be interesting to know if we want this build to be official, that’s it, to be in upstream.

  • My hacks around the code are based on the code after running cmake. Actually what should be done is modify Cmake definition files so that link.txt, build.make and other files are generated from cmake.
  • Conditional MAC. There’s a variable that can be used to determine if we’re build in a mac, or if we want a MAC build. All my hacks didn’t use that variable. Final code should use this variable in conditional sentences so that same code builds in every platform.
  • Although most of the hacks are Remmina hacks I did also hacked FreeRDP hack and thus it should be considered to be submitted FreeRDP upstream too.
  • I have only tried in freshly installed Mountain Lion Mac OS X. So not sure if it would work in older versions with my instructions.
  • My development is based on FreeRDP 1.0.1 and Remmina 1.0.0. I think that I took a look at FreeRDP and a lot of its source is in process of complete rewritement. So… maybe my tests are not suitable for next stable release of FreeRDP.

Future of Remmina for Mac OS X build

Remmina integration with Mac OS X

There’s something I haven’t mentioned yet. Whenever Remmina is run X server is also run and it’s not integrated in the dock. According to GTK OS Integration you can edit a few lines and get a proper Mac OS X integration.

I’m not sure I would be able to hack Remmina to do that. One thing is having to infer build and link dependencies and another thing is learning how gtk applications are developed. And I’m not personally too much interested.

Packaging

Remmina should be also be packaged so that it can be easily installed. Either in its binary form or maybe in its source code form and automatically compiled as port program I think does.

Why?

  • A friend of mine wanted a better RDP client on his Mac OS X. I didn’t find a Mac OS X build of Remmina.
  • I found some time in a weekend
  • I was just curious about how easy or difficult was to build application in Mac OS X

Won’t you make more tests?

Probably not. I usually use Debian Gnu/Linux on my mac and my Mac OS X partition is only for tests. More than this I couldn’t bear the application-oriented GUI that Mac OS X has.

However if you want me to build or test your hacks, or maybe upstream tests I will do it in the weekends.

Anuncios

Etiquetas: , , , , , , , , ,

16 comentarios to “Remmina for Mac OS X build instructions”

  1. anonymousguerrillamailblockcom Says:

    Adrian,

    Como mencionaste en el canal de IRC #fink, el projecto Fink tiene “remmina” en su lista de paquetes disponibles. Personas interesadas en usar remmina con OS X solo necesitan este comando una vez que tengan a Fink instalado:

    ‘fink install remmina’

    La versión que tenemos es 0.7.5. Si deseas que Fink use una versión mas reciente, por favor contacta a “Jack Fink”, que es la persona en cargo de mantener el paquete en nuestra base de datos.

    • adrian15sgd Says:

      Sí. Intento via irc y este jack sólo lo he visto una vez conectarse via web. Igual es que la última semana he tenido mala suerte.
      El sitio master estaba offline no sé si volverá a estar en vida.

      Si en unos días no doy con él via irc ya intentaré mandarle un email.

      De todas maneras, no sé si será porque la web de Fink está caida o algo pero buscar Remmina para Mac OS X no lleva al usuario medio a vuestro paquete de Fink.

      ¡Gracias por comentar!

      adrian15

  2. nieder Says:

    El servidor de Fink se había congelado, pero parece que ya está funcionando desde hoy en la tarde)

    http://pdb.finkproject.org/pdb/package.php/remmina

    Dos notas:

    1) La base de datos todavía no se actualiza para incluir la información de 10.7/10.8 (normalmente tarda 24 horas en actualizarse)

    2) Esta página es solo informativa y no es usada directamente para instalar remmina. El ususario medio tiene que primero instalar Fink y usar el comando ‘fink install remmina’ para obtener el programa.

    • adrian15sgd Says:

      Ayer por la tarde seguí un poco el irc como resucitabais el servidor con cambio de DNS incluido.
      Veo que ya se ha actualizado el tema de la 10.7 y 10.8

      Con esta url que me has pasado ya puedo ver el email de Jack para comentarle sobre este tema.

      ¡Gracias!

  3. JD Says:

    Hi there,
    I’m trying to compile this on 10.9 (Mavericks) and am running into the following error when I try to make FreeRDP:
    [ 19%] Built target freerdp-utils
    Linking C shared library libfreerdp-kbd.dylib
    ld: -rpath can only be used when targeting Mac OS X 10.5 or later
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [libfreerdp-kbd/libfreerdp-kbd.1.0.1.dylib] Error 1
    make[1]: *** [libfreerdp-kbd/CMakeFiles/freerdp-kbd.dir/all] Error 2
    make: *** [all] Error 2

    Any ideas?

    • adrian15sgd Says:

      I suppose that somehow Mac OS X 10.9 is being detected as being an inferior version than Mac OS X 10.5 even if it’s not the case.

      Are using an old version of Xcode and not the most recent one?

      Can you describe if you are trying to build everything using my instructions or if you are going on your own way?

      It’s nice that someone continues the work in 10.9. Hopefully it makes into Fink or a similar system.

      Using Google as clever as I could I found these links which might help you:

      Keep us informed on your progress.

      adrian15

    • adrian15sgd Says:

      And now that I’m checking my own notes you are supposed to be able to install Freerdp thanks to homebrew and:

      brew install freerdp
      brew link freerdp

      No need to build it unless homebrew does not have a working installation of freerdp for Mac OS X 10.9 which might be the case :).

      adrian15

      • JD Says:

        Adrian15,
        Thank you so much for responding back so quickly. I totally missed your comments that FreeRDP could be pulled down with Brew. That worked fine, but I had to get the –HEAD version for it to work on Mavericks.
        However, my problem now is that I can’t compile Remmina. For some reason it can’t find all my dependencies that I installed with MacPorts. This is what I get:

        — Finding suggested package PTHREAD.
        — Disable this using “-DWITH_PTHREAD=OFF”.
        — checking for module ‘pthread’
        — package ‘pthread’ not found
        — Finding suggested package GCRYPT.
        — Disable this using “-DWITH_GCRYPT=OFF”.
        — checking for module ‘gtk+-3.0’
        — package ‘gtk+-3.0’ not found
        — checking for module ‘gdk-pixbuf-2.0’
        — package ‘gdk-pixbuf-2.0’ not found
        — checking for module ‘glib-2.0’
        — package ‘glib-2.0’ not found
        — checking for module ‘pango’
        — package ‘pango’ not found
        — checking for module ‘atk’
        — package ‘atk’ not found
        — checking for module ‘gtk+-2.0’
        — package ‘gtk+-2.0’ not found
        — checking for module ‘gdk-x11-2.0’
        — package ‘gdk-x11-2.0’ not found
        — checking for module ‘gdk-pixbuf-2.0’
        — package ‘gdk-pixbuf-2.0’ not found
        — checking for module ‘glib-2.0’
        — package ‘glib-2.0’ not found
        — checking for module ‘pango’
        — package ‘pango’ not found
        — checking for module ‘atk’
        — package ‘atk’ not found
        CMake Error at cmake/FindGTK.cmake:59 (message):
        No GTK not found.
        Call Stack (most recent call first):
        cmake/FindOptionalPackage.cmake:27 (find_package)
        CMakeLists.txt:95 (find_required_package)

        — Configuring incomplete, errors occurred!

      • adrian15sgd Says:

        You still don’t say what you have done or not exactly :).

        I guess that you are missing port installing pkgconfig which it’s used to know if a certain library or program is installed.

        If pkgconfig is installed you just have to go to:

        cmake/FindGTK.cmake

        line 59 as it’s written there and find out what it’s expecting to find (or where it’s expecting it to find) and maybe workaround it with a symlink.

        Don’t give up so easily ;).

        adrian15

      • JD Says:

        I’ve just about given up, which really sucks because I love Remmina, and all the other RDP clients for mac suck!

  4. travis Says:

    what’s the “G” icon in your dock?

  5. shokk Says:

    I’m using brew. I get the following. What should I do to get rid of it? I don’t need vncserver support, just rdp support.

    $ cmake –build=build -DGTK_VERSION=3 -DWITH_AVAHI=OFF -DWITH_TELEPATHY=OFF -DWITH_GNOMEKEYRING=OFF -DWITH_TRANSLATIONS=OFF -DWITH_PTHREAD=OFF -DWITH_APPINDICATOR=OFF .
    — The C compiler identification is AppleClang 5.1.0.5030040
    — Check for working C compiler: /usr/bin/cc
    — Check for working C compiler: /usr/bin/cc — works
    — Detecting C compiler ABI info
    — Detecting C compiler ABI info – done
    — Found PkgConfig: /usr/local/bin/pkg-config (found version “0.28”)
    — Looking for include file sys/param.h
    — Looking for include file sys/param.h – found
    — Looking for include file sys/socket.h
    — Looking for include file sys/socket.h – found
    — Looking for include file arpa/inet.h
    — Looking for include file arpa/inet.h – found
    — Looking for include file netinet/in.h
    — Looking for include file netinet/in.h – found
    — Looking for include file termios.h
    — Looking for include file termios.h – found
    — Looking for include file netdb.h
    — Looking for include file netdb.h – found
    — Looking for include file fcntl.h
    — Looking for include file fcntl.h – found
    — Looking for include file unistd.h
    — Looking for include file unistd.h – found
    — Looking for include file sys/un.h
    — Looking for include file sys/un.h – found
    — Looking for include file errno.h
    — Looking for include file errno.h – found
    — checking for module ‘gtk+-3.0’
    — found gtk+-3.0, version 3.12.2
    — checking for module ‘gdk-pixbuf-2.0’
    — found gdk-pixbuf-2.0, version 2.30.8
    — checking for module ‘glib-2.0>=2.28’
    — found glib-2.0, version 2.40.0
    — checking for module ‘gio-2.0’
    — found gio-2.0, version 2.40.0
    — checking for module ‘gobject-2.0’
    — found gobject-2.0, version 2.40.0
    — checking for module ‘gmodule-2.0’
    — found gmodule-2.0, version 2.40.0
    — checking for module ‘gthread-2.0’
    — found gthread-2.0, version 2.40.0
    — Found GLIB2: /usr/local/lib/libglib-2.0.dylib
    — checking for module ‘pango’
    — found pango, version 1.36.5
    — checking for module ‘atk’
    — found atk, version 2.12.0
    — Found GTK3: /usr/local/lib/libgtk-3.dylib
    — Finding suggested package GCRYPT.
    — Disable this using “-DWITH_GCRYPT=OFF”.
    — Found GCRYPT: /usr/local/lib/libgcrypt.dylib
    — Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib
    — Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib – found
    — Looking for gethostbyname
    — Looking for gethostbyname – found
    — Looking for connect
    — Looking for connect – found
    — Looking for remove
    — Looking for remove – found
    — Looking for shmat
    — Looking for shmat – found
    — Looking for IceConnectionNumber in ICE
    — Looking for IceConnectionNumber in ICE – found
    — Found X11: /usr/X11R6/lib/libX11.dylib
    — Finding suggested package LIBSSH.
    — Disable this using “-DWITH_LIBSSH=OFF”.
    — checking for module ‘libssh>=0.4’
    — found libssh, version 0.6.3
    — Found LIBSSH: /usr/local/Cellar/libssh/0.6.3/lib/libssh.dylib
    — Finding suggested package VTE.
    — Disable this using “-DWITH_VTE=OFF”.
    — checking for module ‘vte-2.90’
    — found vte-2.90, version 0.32.2
    — Found VTE: /usr/local/lib/libvte2_90.dylib
    — Finding suggested package LIBSSH.
    — Disable this using “-DWITH_LIBSSH=OFF”.
    — checking for module ‘libvncserver’
    — package ‘libvncserver’ not found
    CMake Error at /usr/local/Cellar/cmake/3.0.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
    Could NOT find LIBVNCSERVER (missing: LIBVNCSERVER_LIBRARY)
    Call Stack (most recent call first):
    /usr/local/Cellar/cmake/3.0.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE)
    cmake/FindLIBVNCSERVER.cmake:32 (find_package_handle_standard_args)
    cmake/FindOptionalPackage.cmake:27 (find_package)
    remmina-plugins/CMakeLists.txt:35 (find_required_package)

    Some clues:
    $ pkg-config –cflags –libs gtk+-2.0
    -D_REENTRANT -I/opt/X11/include/cairo -I/opt/X11/include/pixman-1 -I/opt/X11/include/libpng15 -I/opt/X11/include -I/opt/X11/include/freetype2 -I/usr/local/Cellar/gtk+/2.24.24/include/gtk-2.0 -I/usr/local/Cellar/gtk+/2.24.24/lib/gtk-2.0/include -I/usr/local/Cellar/pango/1.36.5/include/pango-1.0 -I/usr/local/Cellar/atk/2.12.0/include/atk-1.0 -I/usr/local/Cellar/gdk-pixbuf/2.30.8/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.12/include/libpng16 -I/usr/local/Cellar/pango/1.36.5/include/pango-1.0 -I/usr/local/Cellar/harfbuzz/0.9.33/include/harfbuzz -I/usr/local/Cellar/pango/1.36.5/include/pango-1.0 -I/usr/local/Cellar/glib/2.40.0_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.40.0_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -L/opt/X11/lib -L/usr/local/Cellar/gtk+/2.24.24/lib -L/usr/local/Cellar/pango/1.36.5/lib -L/usr/local/Cellar/atk/2.12.0/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/glib/2.40.0_1/lib -L/usr/local/Cellar/pango/1.36.5/lib -L/usr/local/Cellar/glib/2.40.0_1/lib -L/usr/local/opt/gettext/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype

    • adrian15sgd Says:

      I haven’t touched this stuff for a long time. I would check Makefiles for disabling vncserver capabilities. Maybe with some cmake switch you can disable it.

      Sorry I cannot be of more help.

      You can always ask Fink people too.

  6. Дмитрий Мышков Says:

    cmake -D “CMAKE_OSX_ARCHITECTURES:STRING=x86_64” .


    [ 20%] Building C object libfreerdp-kbd/CMakeFiles/freerdp-kbd.dir/x_layout_id_table.c.o
    [ 20%] Building C object libfreerdp-kbd/CMakeFiles/freerdp-kbd.dir/libkbd.c.o
    [ 21%] Linking C shared library libfreerdp-kbd.dylib
    ld: -rpath can only be used when targeting Mac OS X 10.5 or later
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [libfreerdp-kbd/libfreerdp-kbd.1.0.1.dylib] Error 1
    make[1]: *** [libfreerdp-kbd/CMakeFiles/freerdp-kbd.dir/all] Error 2
    make: *** [all] Error 2

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s


A %d blogueros les gusta esto: