BSDForen.de  

Zurück   BSDForen.de > FreeBSD > FreeBSD - Anwendungen und Ports

Antwort
 
Themen-Optionen Thema bewerten Ansicht
Alt 03.07.2012, 12:38   #1
lockdoc
Registered User
 
Benutzerbild von lockdoc
 
Registrierungsdatum: Feb 2005
Beiträge: 1.421
VLC compile Errors

Hi,

ich bin gerade auf FreeBSD10 (10.0-CURRENT FreeBSD 10.0-CURRENT #8: Wed Jun 27 11:01:10 CEST 2012 i386) und versuche den vlc zu compilen.
Leider scheint das nicht out-of-the-box zu funktionieren und man muss ein wenig selber hand anlegen. Wer das selbe Problem hat, dass er nicht compiled, fuer den schreibe ich mal hier die Aenderungen, so wie sie bei mir funktioniert haben.

Bei mir sind die folgenden Optionen fuer VLC gesetzt
Code:
│ │[ ] A52 A52 DVD audio decoder │ │ │ │[ ] AALIB Aalib Console Graphics Support │ │ │ │[ ] ASS ASS/SSA subtitle rendering │ │ │ │[*] AVAHI Support Zeroconf through Avahi │ │ │ │[*] CACA libcaca Console Graphics Support (requires A│ │ │ │[*] DBUS D-Bus control support │ │ │ │[ ] DEBUG Install debug symbols │ │ │ │[*] DIRAC Dirac support │ │ │ │[*] DOCS Build and install the documentation │ │ │ │[*] DTS DTS DVD audio decoder │ │ │ │[*] DVB Digital Video Broadcasting support (requires│ │ │ │[*] DVDNAV DVD menu navigation │ │ │ │[*] DVDREAD DVD Playback support │ │ │ │[*] FAAD Faad audio decoder (mp4/aac) support │ │[*] FLAC Flac audio codec support │ │ │ │[ ] FLUID Fluidsynth MIDI support │ │ │ │[ ] FRIBIDI FriBidi bidirectional unicode support │ │ │ │[*] GGI General Graphic Interface support │ │ │ │[*] GLX X11 OpenGL rendering (requires XCB) │ │ │ │[*] GNOMEVFS Gnome VFS support │ │ │ │[*] GNUTLS SSL/TLS support via GnuTLS │ │ │ │[ ] GOOM the Goom visual effect library │ │ │ │[*] HTTPD Support for httpd output streaming │ │ │ │[ ] JACK Support JACK audio server │ │ │ │[*] LIVEMEDIA Support for rstp/rtp/sdp protocols │ │ │ │[*] LUA LUA support │ │ │ │[*] MAD Mad mp3 decoder support │ │ │ │[*] MATROSKA Matroska Container Format support │ │[ ] MODPLUG Support MODPLUG decoder │ │ │ │[*] MPEG2 Mpeg-2 audio/video decoder Support │ │ │ │[*] MTP support for the Music Transport Protocol │ │ │ │[*] MUSEPACK Support MPC audio format │ │ │ │[ ] NCURSES ncurses (console) interface │ │ │ │[*] NLS Native Language Support via gettext │ │ │ │[*] NOTIFY startup notification support │ │ │ │[*] OGG Ogg audio decoder support │ │ │ │[*] OPENGL OpenGL acceleration support │ │ │ │[ ] OPTIMIZED_CFLAG compilation optimizations │ │ │ │[*] PLUGIN VLC Mozilla Plugin │ │ │ │[*] PNG PNG graphics format support │ │ │ │[ ] PORTAUDIO PortAudio support │ │ │ │[ ] PROJM ProjectM visualizations │ │[ ] PULSEAUDIO Support PulseAudio sound server │ │ │ │[*] QT4 Qt4 Interface │ │ │ │[*] REALAUDIO Real Audio(R) support │ │ │ │[ ] REMOTEOSD Remote OSD support │ │ │ │[ ] RUNROOT Enable running as root │ │ │ │[*] SAMBA SAMBA Access module │ │ │ │[*] SCHROED Schroedinger decoder │ │ │ │[*] SDL Simple Direct Madia Layer support │ │ │ │[ ] SERVER_ONLY Only build server parts │ │ │ │[ ] SHOUTCAST Support for Ogg Icecast and Shoutcast │ │ │ │[*] SKINS winamp skins interface (requires QT4) │ │ │ │[*] SPEEX support for speex audio format │ │ │ │[ ] SQLITE SQLite database support │ │ │ │[*] STREAM stream output │ │[*] SVG SVG image support │ │ │ │[*] SVGALIB SVGALIB video output │ │ │ │[*] TAGLIB ID3 tag and Ogg comment support │ │ │ │[*] THEORA OGG/Vorbis video codec support │ │ │ │[ ] TREMOR Tremor voice audio (redundant with Vorbis) │ │ │ │[*] TWOLAME Twolame mpeg2 audio encoder support │ │ │ │[ ] UNSAFE_PLUGINS Install unsafe, unsupported plugins │ │ │ │[*] UPNP UPnP network device control │ │ │ │[*] V4L Video4Linux video capture compatibility │ │ │ │[*] VAAPI Support hardware decoding via VAAPI │ │ │ │[*] VCD Video CD support │ │ │ │[*] VORBIS support for Ogg Vorbis │ │ │ │[*] X11 Support for X11 │ │ │ │[*] X264 H264 video codec using x264 │ │[*] XCB Use X C Bindings for X11 output │ │ │ │[*] XOSD X11 On Screen Display support │ │ │ │[*] XVIDEO X11 video rendering (requires XCB) │ │ │ │[*] ZVBI VBI decoding support

(Weiss leider nicht genau, wie man ein patch file richtig schreibt, darum mal so wie ich es mir dachte)
Code:
file: /usr/ports/multimedia/vlc/work/vlc-1.1.13/modules/gui/skins2/ src/theme_loader.cpp ---771 return gzclose( toClose ); +++771 return gzclose( (gzFile)toClose ); ---780 return gzread( currentGzVp, p_buffer, i_length ); +++780 return gzread( (gzFile)currentGzVp, p_buffer, i_length ); ---789 return gzwrite( currentGzVp, const_cast<void*>(p_buffer), i_length ); +++789 return gzwrite( (gzFile)currentGzVp, const_cast<void*>(p_buffer), i_length );
Zumahl musste ich auch die die folgende Compiler option ranhaengen,
da es ein paar Faelle in einer for loop gab, wo direkt dort eine variable deklariert wurde

Code:
root> make -Dstc=c99 -DDISABLE_VULNERABILITIES install
Das ganze lief gerade damit bei mir sauber durch.

Ich frage mich eigentlich, warum in den Ports noch der alte 1er VLC ist und nicht der 2er?
Hat da Jemand infos zu?
__________________
https://github.com/lockdoc
There would be less blood spilt in the battlefields if there were more sweat spent in the training hall.
lockdoc ist offline   Mit Zitat antworten
Alt 03.07.2012, 14:08   #2
darktrym
NetBSD Paladin
 
Benutzerbild von darktrym
 
Registrierungsdatum: Aug 2006
Ort: Gera
Beiträge: 667
Zu den diff:
Das Original duplizieren, bei einem hinten ".orig" dranhängen. Das andere stets bearbeiten.
Und dann vom richtigen Verzeichnis aus diff -Bu pfad/bla.orig pfad/bla > patch-aa
__________________
"Don't just believe that because something is trendy that it's good", Knuth 2012

NetBSD_6.99.19@Thinkpad_X220i
darktrym ist offline   Mit Zitat antworten
Antwort


Dieses Thema betrachten zurzeit 1 Personen. (0 registrierte Benutzer und 1 Gäste)
 
Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist An.
Smileys sind An
[IMG] Code ist An
HTML-Code ist Aus
Gehe zu

Ähnliche Themen
Thema Erstellt von Forum Antworten Letzter Beitrag
libbluray-Update schlägt fehl evgenij FreeBSD - Anwendungen und Ports 23 18.03.2012 14:06
Tester gesucht: X.org 7.5 für FreeBSD Yamagi News 35 07.04.2010 22:23
Installation bricht mit "ld: cannot find -ldomainkeys" ab Dany FreeBSD - Anwendungen und Ports 9 18.05.2007 21:09
buildworld: Probleme mit texinfo bjou FreeBSD - Installation 6 14.11.2005 11:18
faac compile error bei VLC installation, configure im Port? dissent FreeBSD - Anwendungen und Ports 17 07.07.2005 17:11


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:55 Uhr.


Powered by vBulletin (Deutsch)
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.