Opened 12 years ago

Closed 12 years ago

#36141 closed defect (fixed)

Compiling mythtv-core.25 on G4: byteswap.h not found

Reported by: mfourtytwoi@… Owned by: ctreleaven (Craig Treleaven)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: mythtv-core.25

Description

Compileing mythtv-core.25 gives me the errors:

:info:build avformatwriter.cpp:29:22: error: byteswap.h: No such file or directo
ry
:info:build avformatwriter.cpp: In function ‘void bswap_16_buf(short int*, int, 
int)’:
:info:build avformatwriter.cpp:314: error: ‘bswap_16’ was not declared in this s
cope

I can't find any byteswap.h file under /usr nor /opt/local. But I get some bswap.h files in the mythtv temp directories. I've linked them to byteswap.h in their respective directories, but the compilation isn't finished yet.

Attachments (1)

mythtv-core.25.err.log (776.4 KB) - added by mfourtytwoi@… 12 years ago.
main.log file of compilation

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by mfourtytwoi@…

Attachment: mythtv-core.25.err.log added

main.log file of compilation

comment:1 Changed 12 years ago by ci42

Owner: changed from macports-tickets@… to ctreleaven@…

Please remember to cc the maintainer.

comment:2 Changed 12 years ago by ctreleaven (Craig Treleaven)

I'm afraid that this port is completely untested on PPC and I'd be surprised if it will build; let alone run. I have not heard of anyone running mythtv-core.25 on OS X prior to 10.6; which, of course, won't run on a PPC Mac.

There is a version of byeswap.h on the Myth github repository but I have no idea if it is the right one or not.

https://github.com/MythTV/packaging/tree/master/Win32/VS2010/compat/include

It is conceivable that you could install Linux on your G4 and build a Linux version of Myth. There is a G5 buildbot and I see that it completed a successful build as recently as Sep 10. You might ask for more details on the mythtv-users mailing list.

http://code.mythtv.org/buildbot/builders/0.25-linux-ppc

Sorry, but given that I don't have a PPC machine anymore, I can't support this port on that platform.

comment:3 Changed 12 years ago by ctreleaven (Craig Treleaven)

comment:4 in reply to:  3 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Has duplicate #36398

comment:5 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: newclosed

See r98361

Note: See TracTickets for help on using tickets.