English version below Si si, un altre post sobre FreeBSD però es que acabo de fer funcionar algo que m'havia portat un altre cop a instal·lar Gentoo al laptop xDD Ara no hi ha excusa per no continuar amb FreeBSD :P El tema és que volia necessitava instal·lar el Darwin Streaming Server per un projecte de la uni. I resulta que sota FreeBSD 6 petava lo seu amb uns 'undefined reference to noseké'. Doncs bé, vaig preguntar-ho a la llista de correu i un tal Denis del CCC de Berlín, amablement, m'ha anat contestant els meus dubtes. La clau està en fer servir la versió correcta del CVS, ni la última ni la -stable, no no. L'etiquetada com QuickTimeStreamingServer-492, casi ná xD I a més, canviar el nom del compilador de C++ i del linker per g++ enlloc de gcc. Així que: $ setenv CVS_RSH ssh $ setenv CVSROOT :ext:apsl@anoncvs.opensource.apple.com:/cvs/apsl (demana password) $ cvs co -r QuickTimeStreamingServer-492 StreamingServer (...) $ cd StreamingServer $ patch < dss-buildit-patch.diff $ ./Buildit El parxe, aquí. I voilà, ja tenim el bitxo compilat :) PS: si enlloc de csh teniu bash, el setenv és el export ;) PS2: com m'ha comentat el Xavi, cal usuari i clau per fer el checkout, no ho recordava. Us haureu de fer un usuari d'apple :P English version I needed to install DSS on my laptop running FreeBSD6 for a university project. I downlad the packaged tar.gz version but it doesn't compiles. Also trying to checkout the CVS version didn't do the trick. After asking in the dss-dev mailing list, I get an answer from Denis from CCC at Berlin explaining me how to get it working. Let's go to do it! The key of the process is to checkout a concrete version from CVS, exactly the one tagged as QuickTimeStreamingServer-492 and patch the Buildit script. The patch only changes two lines so you can skip that step changing gcc by g++ both at linker and compiler vars in the script. The steps: $ setenv CVS_RSH ssh $ setenv CVSROOT :ext:apsl@anoncvs.opensource.apple.com:/cvs/apsl (asks for a password) $ cvs co -r QuickTimeStreamingServer-492 StreamingServer (...) $ cd StreamingServer $ patch < dss-buildit-patch.diff $ ./Buildit Change setenv command to the equivalent of your shell. Please note that you will need an AppleID to be able to checkout from repository. You can get the patch from here.

Tagged as ... No tags found!

If you liked this post, you can donate using Bitcoin 12jVrWkk5S6x5hEizThZwgTx59KxaDdK4C