Ticket #1187 (new defect)

Opened 1 year ago

Last modified 1 year ago

"make install" tries to install VLC.app but fails (OS/X)

Reported by: jjdmol Assigned to:
Priority: low Milestone: Features paradize
Component: Build system Version: master
Severity: minor Keywords:
Cc: Platform(s): MacOS
Difficulty: easy Work status: Not started

Description

Performing "make install" breaks once it reaches VLC.app:

/usr/bin/install -c -m 644 './VLC.app' '/Users/jandavidmol/bin/VLC.app'
install: ./VLC.app: Inappropriate file type or format

Which is not surprising considering VLC.app is actually a folder. It may or may not be desirable to install VLC.app when using "make install".

(This is after circumventing #1186)

Change History

04/05/07 08:05:39 changed by jjdmol

For those who need it: a hack to avoid installing VLC.app is removing the line vlc_app_DATA = VLC.app from the Makefile.

04/05/07 08:53:41 changed by fkuehne

  • milestone set to Features paradize.

Could you explain me why you want to run "make install" on OSX?! Use "make VLC-release.app" to create a binary bundle suitable for all Macs. In case that you're the author of the "I want to do a VLC fink package", then feel free to patch our Makefile accordingly, but we won't work on this as we're focusing on ordinary OSX application packages ;-)

04/05/07 11:13:33 changed by jjdmol

My original goal is getting the python bindings to work. They use vlc-config, which in turn points to the installed version of VLC. Hence I need to do 'make install' before I can build the python bindings.

I can imagine people using vlc-config and linking against VLC libs need 'make install' to work as well.

BTW, two more problems with 'make install' pop up: 1) ./configure --enable-python-bindings fails because the bindings cannot be built unless the rest is already installed. So, I build the bindings after 'make install' 2) vlc-config points to libraries it doesn't install (in my case, libvlc-control.dylib, libauhal.a, libi420_ymga_mmx.a, libmacosx.a, libquicktime.am, libffmpeg.a, libi422_yuy2_mmx.a, libmemcpy3dn.a, libgoom.a, liblibmpeg2.a, libmemcpymmx.a, libi420_rgb_mmx.a, liblive555.a, libmemcpymmxext.a).

I can make separate tickets of these problems, if desirable.