Hi guys,

I knjow it's a known issue but i still cant figure it out the solution.

I just cant compile LMMS in Debian Jessie 64 Bit:


nano /etc/apt/sources.list

deb http://sft.if.usp.br/debian/ jessie main
deb-src http://sft.if.usp.br/debian/ jessie main

deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib

# wheezy-updates, previously known as 'volatile'
deb http://sft.if.usp.br/debian/ jessie-updates main contrib
deb-src http://sft.if.usp.br/debian/ jessie-updates main contrib

deb http://http.debian.net/debian/ jessie main contrib non-free

#Java
#http://linuxg.net/how-to-install-the-oracle-java-8-on-debian-wheezy-and-debian-jessie-via-repository/
deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main

deb http://qgis.org/debian-nightly jessie main
deb-src http://qgis.org/debian-nightly jessie main

deb http://download.virtualbox.org/virtualbox/debian wheezy contrib

sudo apt-get install build-essential cmake libqt4-dev libsndfile-dev fftw3-dev libvorbis-dev libogg-dev libasound2-dev libjack-dev libsdl-dev libsamplerate0-dev libstk0-dev libfluidsynth-dev portaudio19-dev libfltk1.3-dev wine-dev
Lendo listas de pacotes... Pronto
Construindo árvore de dependências      
Lendo informação de estado... Pronto
Note, selecting 'libsndfile1-dev' instead of 'libsndfile-dev'
Note, selecting 'libfftw3-dev' instead of 'fftw3-dev'
Note, selecting 'libsdl1.2-dev' instead of 'libsdl-dev'
E: Impossível encontrar o pacote wine-dev
sudo apt-get install wine
Lendo listas de pacotes... Pronto
Construindo árvore de dependências      
Lendo informação de estado... Pronto
wine is already the newest version.
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 25 não atualizados.
sudo apt-get install libc6-dev-i386 gcc-multilib g++-multilib
Lendo listas de pacotes... Pronto
Construindo árvore de dependências      
Lendo informação de estado... Pronto
libc6-dev-i386 is already the newest version.
g++-multilib is already the newest version.
gcc-multilib is already the newest version.
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 25 não atualizados.


cmake .. -DCMAKE_INSTALL_PREFIX=../target

-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
PROCESSOR: x86_64
Machine: x86_64-linux-gnu
-- Target host is 64 bit
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for include file semaphore.h
-- Looking for include file semaphore.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/ipc.h
-- Looking for include file sys/ipc.h - found
-- Looking for include file sys/shm.h
-- Looking for include file sys/shm.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - found
-- Looking for include file sys/select.h
-- Looking for include file sys/select.h - found
-- Looking for include file stdarg.h
-- Looking for include file stdarg.h - found
-- Looking for include file signal.h
-- Looking for include file signal.h - found
-- Looking for include file sched.h
-- Looking for include file sched.h - found
-- Looking for include file sys/soundcard.h
-- Looking for include file sys/soundcard.h - found
-- Looking for include file soundcard.h
-- Looking for include file soundcard.h - not found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file sys/ioctl.h
-- Looking for include file sys/ioctl.h - found
-- Looking for include file ctype.h
-- Looking for include file ctype.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file process.h
-- Looking for include file process.h - not found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.6", minimum required is "4.3.0;COMPONENTS;QtCore;QtGui;QtXml")
-- Found Qt translations in /usr/share/qt4/translations
-- checking for module 'sndfile>=1.0.11'
--   found sndfile, version 1.0.25
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found SDL: /usr/lib/x86_64-linux-gnu/libSDL.so;-lpthread (found version "1.2.15")
-- Found STK: /usr/lib/x86_64-linux-gnu/libstk.so
-- checking for module 'portaudio-2.0'
--   found portaudio-2.0, version 19
-- Found Portaudio: portaudio;asound;m;pthread
-- checking for module 'libpulse'
--   found libpulse, version 5.0
-- Found PulseAudio Simple: /usr/lib/x86_64-linux-gnu/libpulse.so
-- Looking for vorbis_bitrate_addblock in vorbis
-- Looking for vorbis_bitrate_addblock in vorbis - found
-- Found OggVorbis: /usr/lib/x86_64-linux-gnu/libogg.so;/usr/lib/x86_64-linux-gnu/libvorbis.so;/usr/lib/x86_64-linux-gnu/libvorbisfile.so;/usr/lib/x86_64-linux-gnu/libvorbisenc.so
-- Looking for snd_seq_create_simple_port in asound
-- Looking for snd_seq_create_simple_port in asound - found
-- Found ALSA: /usr/lib/x86_64-linux-gnu/libasound.so
-- Looking for include file machine/soundcard.h
-- Looking for include file machine/soundcard.h - not found
-- Looking for include file linux/awe_voice.h
-- Looking for include file linux/awe_voice.h - not found
-- Looking for include file awe_voice.h
-- Looking for include file awe_voice.h - not found
-- Looking for include file /usr/src/sys/i386/isa/sound/awe_voice.h
-- Looking for include file /usr/src/sys/i386/isa/sound/awe_voice.h - not found
-- Looking for include file /usr/src/sys/gnu/i386/isa/sound/awe_voice.h
-- Looking for include file /usr/src/sys/gnu/i386/isa/sound/awe_voice.h - not found
-- Looking for C++ include sys/asoundlib.h
-- Looking for C++ include sys/asoundlib.h - found
-- Looking for C++ include alsa/asoundlib.h
-- Looking for C++ include alsa/asoundlib.h - found
-- Looking for snd_pcm_resume in asound
-- Looking for snd_pcm_resume in asound - found
-- checking for module 'jack>=0.77'
--   found jack, version 1.9.10
-- checking for module 'fftw3f>=3.0.0'
--   found fftw3f, version 3.3.4
-- checking for module 'fluidsynth>=1.0.7'
--   found fluidsynth, version 1.1.6
-- Found Wine: /usr/lib/x86_64-linux-gnu/wine/libwine.so 
-- checking for module 'samplerate>=0.1.8'
--   found samplerate, version 0.1.8
-- Found Git: /usr/bin/git (found version "2.0.0.rc2")
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - 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/lib/x86_64-linux-gnu/libX11.so
-- Found FLTK: fltk 
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)

Installation Summary
--------------------
* Install Directory           : /home/sergio/.dropbox-alt/Dropbox/lmms/target

Supported audio interfaces
--------------------------
* ALSA                        : OK
* JACK                        : OK
* OSS                         : OK
* PortAudio                   : OK
* PulseAudio                  : OK
* SDL                         : OK

Supported MIDI interfaces
-------------------------
* ALSA                        : OK
* OSS                         : OK
* WinMM                       : <not supported on this platform>

Supported file formats for project export
-----------------------------------------
* WAVE                        : OK
* OGG/VORBIS                  : OK

Optional plugins
----------------
* SoundFont2 player           : OK
* Stk Mallets                 : OK
* VST-instrument hoster       : OK
* VST-effect hoster           : OK
* CALF LADSPA plugins         : OK
* CAPS LADSPA plugins         : OK
* CMT LADSPA plugins          : OK
* TAP LADSPA plugins          : OK
* SWH LADSPA plugins          : OK


-----------------------------------------------------------------
IMPORTANT:
after installing missing packages, remove CMakeCache.txt before
running cmake again!
-----------------------------------------------------------------



-- Configuring done
CMake Warning (dev) in plugins/zynaddsubfx/src/Samples/CMakeLists.txt:
  Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
  interface.  Run "cmake --help-policy CMP0022" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "zynaddsubfx_samples" has an INTERFACE_LINK_LIBRARIES property.
  This should be preferred as the source of the link interface for this
  library but because CMP0022 is not set CMake is ignoring the property and
  using the link implementation as the link interface instead.

  INTERFACE_LINK_LIBRARIES:

    zynaddsubfx_samples

  Link implementation:

    (empty)

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /home/sergio/.dropbox-alt/Dropbox/lmms/build

make -j2
Scanning dependencies of target bin2res
[  0%] Built target bin2res
[  1%] Built target flpimport
[  1%] Built target hydrogenimport
[  2%] Built target kicker
[  3%] Built target ladspabrowser
[  4%] Built target ladspaeffect
[  7%] [  7%] Built target caps
Built target tap_autopan
[  8%] [  8%] Built target tap_chorusflanger
Built target tap_deesser
[  8%] [  8%] Built target tap_dynamics_m
Built target tap_doubler
[  8%] [  8%] Built target tap_dynamics_st
Built target tap_echo
[  9%] [  9%] Built target tap_eq
Built target tap_eqbw
[  9%] [  9%] Built target tap_pinknoise
Built target tap_limiter
[  9%] [  9%] Built target tap_pitch
Built target tap_reflector
[  9%] [  9%] Built target tap_reverb
Built target tap_rotspeak
[ 10%] [ 10%] Built target tap_tremolo
Built target tap_sigmoid
[ 10%] Built target tap_vibrato
[ 10%] Built target tap_tubewarmth
Linking C shared module alias_1407.so
Linking C shared module allpass_1895.so
[ 10%] Built target alias_1407
[ 10%] Built target allpass_1895
Linking C shared module am_pitchshift_1433.so
Linking C shared module amp_1181.so
[ 10%] Built target am_pitchshift_1433
[ 10%] Built target amp_1181
[ 10%] Built target iir
[ 10%] Built target blo
Linking C shared module bode_shifter_1431.so
Linking C shared module bode_shifter_cv_1432.so
[ 10%] Built target bode_shifter_1431
[ 10%] Built target bode_shifter_cv_1432
Linking C shared module butterworth_1902.so
Linking C shared module chebstortion_1430.so
[ 10%] Built target butterworth_1902
[ 10%] Built target chebstortion_1430
Linking C shared module comb_1190.so
Linking C shared module comb_1887.so
[ 10%] Built target comb_1190
[ 10%] Built target comb_1887
Linking C shared module comb_splitter_1411.so
Linking C shared module const_1909.so
[ 10%] Built target comb_splitter_1411
[ 10%] Built target const_1909
Linking C shared module crossover_dist_1404.so
[ 10%] Built target db
Linking C shared module dc_remove_1207.so
[ 10%] Built target crossover_dist_1404
Linking C shared module decay_1886.so
[ 10%] Built target dc_remove_1207
Linking C shared module decimator_1202.so
[ 11%] Built target decay_1886
Linking C shared module declip_1195.so
[ 11%] Built target decimator_1202
Linking C shared module delay_1898.so
[ 11%] Built target declip_1195
Linking C shared module delayorama_1402.so
[ 11%] Built target delay_1898
Linking C shared module diode_1185.so
[ 11%] Built target delayorama_1402
Linking C shared module divider_1186.so
[ 11%] Built target diode_1185
Linking C shared module dj_eq_1901.so
[ 11%] Built target divider_1186
Linking C shared module dj_flanger_1438.so
[ 11%] Built target dj_eq_1901
Linking C shared module dyson_compress_1403.so
[ 12%] Built target dj_flanger_1438
Linking C shared module fad_delay_1192.so
[ 12%] Built target dyson_compress_1403
Linking C shared module fast_lookahead_limiter_1913.so
[ 12%] Built target fad_delay_1192
Linking C shared module flanger_1191.so
[ 12%] Built target fast_lookahead_limiter_1913
Linking C shared module foldover_1213.so
[ 12%] Built target flanger_1191
Linking C shared module foverdrive_1196.so
[ 12%] Built target foldover_1213
Linking C shared module freq_tracker_1418.so
[ 12%] Built target foverdrive_1196
[ 12%] Linking C shared module gate_1410.so
Built target freq_tracker_1418
Linking C shared module giant_flange_1437.so
[ 12%] Built target gate_1410
Linking C shared module gong_1424.so
[ 12%] Built target giant_flange_1437
Linking C shared module gong_beater_1439.so
[ 12%] Built target gong_1424
[ 13%] Built target gong_beater_1439
[ 14%] Built target gsm
Linking C shared module hard_limiter_1413.so
[ 14%] Built target gverb
Linking C shared module harmonic_gen_1220.so
[ 14%] Built target hard_limiter_1413
Linking C shared module hermes_filter_1200.so
[ 14%] Built target harmonic_gen_1220
Linking C shared module highpass_iir_1890.so
[ 14%] Built target hermes_filter_1200
[ 14%] Built target highpass_iir_1890
Linking C shared module hilbert_1440.so
Linking C shared module imp_1199.so
[ 15%] Built target hilbert_1440
Linking C shared module impulse_1885.so
[ 15%] Built target imp_1199
Linking C shared module inv_1429.so
[ 15%] Built target impulse_1885
Linking C shared module karaoke_1409.so
[ 15%] Built target inv_1429
Linking C shared module ladspa-util.so
[ 15%] Built target karaoke_1409
[ 15%] Built target ladspa-util
Linking C shared module latency_1914.so
Linking C shared module lcr_delay_1436.so
[ 15%] Built target latency_1914
[ 16%] Linking C shared module lowpass_iir_1891.so
Built target lcr_delay_1436
Linking C shared module ls_filter_1908.so
[ 16%] Built target lowpass_iir_1891
Linking C shared module matrix_ms_st_1421.so
[ 16%] Built target ls_filter_1908
Linking C shared module matrix_spatialiser_1422.so
[ 16%] Built target matrix_ms_st_1421
[ 16%] Linking C shared module matrix_st_ms_1420.so
Built target matrix_spatialiser_1422
Linking C shared module mbeq_1197.so
[ 16%] Built target matrix_st_ms_1420
Linking C shared module mod_delay_1419.so
[ 16%] Built target mbeq_1197
Linking C shared module multivoice_chorus_1201.so
[ 17%] Built target mod_delay_1419
Linking C shared module notch_iir_1894.so
[ 17%] Built target multivoice_chorus_1201
Linking C shared module phasers_1217.so
[ 17%] Built target notch_iir_1894
[ 17%] [ 17%] Built target phasers_1217
Built target pitchscale
Linking C shared module pointer_cast_1910.so
Linking C shared module plate_1423.so
[ 17%] [ 17%] Built target plate_1423
Built target pointer_cast_1910
Linking C shared module rate_shifter_1417.so
Linking C shared module retro_flange_1208.so
[ 17%] [ 17%] Built target rate_shifter_1417
Built target retro_flange_1208
Linking C shared module ringmod_1188.so
Linking C shared module revdelay_1605.so
[ 18%] [ 18%] Built target ringmod_1188
Built target revdelay_1605
Linking C shared module satan_maximiser_1408.so
[ 18%] Built target rms
Linking C shared module shaper_1187.so
[ 18%] Built target satan_maximiser_1408
[ 18%] Linking C shared module sifter_1210.so
Built target shaper_1187
Linking C shared module sin_cos_1881.so
[ 18%] Built target sifter_1210
[ 19%] Linking C shared module single_para_1203.so
Built target sin_cos_1881
Linking C shared module sinus_wavewrapper_1198.so
[ 19%] Built target single_para_1203
[ 19%] Linking C shared module smooth_decimate_1414.so
Built target sinus_wavewrapper_1198
Linking C shared module split_1406.so
[ 19%] Built target smooth_decimate_1414
[ 19%] Linking C shared module step_muxer_1212.so
Built target split_1406
Linking C shared module surround_encoder_1401.so
[ 19%] Built target step_muxer_1212
[ 19%] Linking C shared module svf_1214.so
Built target surround_encoder_1401
Linking C shared module tape_delay_1211.so
[ 19%] Built target svf_1214
[ 19%] Linking C shared module transient_1206.so
Built target tape_delay_1211
Linking C shared module triple_para_1204.so
[ 19%] Built target transient_1206
Linking C shared module valve_1209.so
[ 19%] Built target triple_para_1204
Linking C shared module valve_rect_1405.so
[ 19%] Built target valve_1209
[ 19%] Linking C shared module vocoder_1337.so
Built target valve_rect_1405
Linking C shared module vynil_1905.so
[ 19%] Built target vocoder_1337
[ 19%] Linking C shared module wave_terrain_1412.so
Built target vynil_1905
Linking C shared module xfade_1915.so
[ 19%] Built target wave_terrain_1412
Linking C shared module zm1_1428.so
[ 20%] Built target xfade_1915
[ 25%] Built target cmt
[ 25%] Built target zm1_1428
[ 27%] Built target calf
[ 27%] Built target lb302
[ 28%] Built target midiimport
[ 28%] Built target OPL2
[ 28%] Built target organic
[ 29%] Built target papu
[ 30%] Built target patman
[ 30%] Built target peakcontrollereffect
Linking CXX shared module libsf2player.so
[ 31%] Built target sfxr
[ 33%] Built target sid
Linking CXX shared module libspectrumanalyzer.so
[ 33%] Built target sf2player
[ 33%] Built target stereoenhancer
[ 34%] Built target stereomatrix
[ 35%] Built target spectrumanalyzer
Linking CXX shared module libmalletsstk.so
[ 36%] Built target tripleoscillator
[ 36%] Generating RemoteVstPlugin
/bin/sh: 1: WINE_CXX-NOTFOUND: not found
plugins/vst_base/CMakeFiles/vstbase.dir/build.make:53: recipe for target 'plugins/vst_base/RemoteVstPlugin' failed
make[2]: *** [plugins/vst_base/RemoteVstPlugin] Error 127
CMakeFiles/Makefile2:8432: recipe for target 'plugins/vst_base/CMakeFiles/vstbase.dir/all' failed
make[1]: *** [plugins/vst_base/CMakeFiles/vstbase.dir/all] Error 2
make[1]: ** Esperando que outros processos terminem.
[ 37%] Built target malletsstk
Makefile:123: recipe for target 'all' failed
make: *** [all] Error 2