hackpar / redis

Automatically exported from code.google.com/p/redis
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Install fails if bin directory does not exis #432

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Change INSTALL_TOP to a prefix that does not exist
2. `make`
3. `make install`

What is the expected output? What do you see instead?
I expect redis to be installed to the directory ${INSTALL_TOP}/bin/. Instead, 
each executable is copied to the newly created *file* ${INSTALL_TOP}/bin.

What version of the product are you using? On what operating system?
Redis 2.0.4 on Mac OS X.

Please provide any additional information below.
This would be solved by putting a `mkdir -p ${INSTALL_BIN}` as the first line 
of the install directive.

Original issue reported on code.google.com by mafr...@gmail.com on 9 Jan 2011 at 8:18

GoogleCodeExporter commented 8 years ago
This was indeed a problem for 2.0, but has been fixed in this commit: 
https://github.com/antirez/redis/commit/e984050fb97939964daf6fb5e28cd7fc081c2c70

Original comment by pcnoordh...@gmail.com on 6 Jul 2011 at 12:17