Unable to compile gpac-0.6

Hi, thanks for prompt response though can you please explain a bit more ? Do we need to update ports or what ?
 
If you look at the existing port (0.5), there are patches required to make it build properly. You most likely need similar patches to get 0.6 to build correctly. So you'll have to figure out what to patch.
 
Hi, can you please direct me to some tutorial to learn about it ? I've no idea on how to patch & compile package on FreeBSD :(
 
I also suggest you:

- read the INSTALL and README files in source code of the new version you want to port. Sometime it is easier than we think.

then choose one of the two to start (no one is better than the other, it depends too much on the scenario)

Approach 1 : doing things directly

- run ./configure - it will point some problem or not, that you'll need to patch
- run make if it was properly configured. it will also point errors ... missing libs ...

Approach 2 : using the port system

- adjust the old port Makefile to the new one (update VERSION )
- check if any of the files/* patches are still valid (some source files my changed, some not... sometimes it changed but the subject of patch still valid ... like an include that need to be changed, a function call ... so do not trash the old patches yet! )
- run make , it will fail a lot, but you'll start to get some point to fix

And remember to set DEVELOPER=yes , see the Porter's Handbook for more info on how to do it. You must read that book anyway! You may read it first, in the middle of the process , but you it is a must to.

Hope we helped you to get some fun.
 
Back
Top