Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build stops, says file already exists (on Mac OS X) #53

Closed
benjamingeer opened this issue Sep 7, 2016 · 5 comments
Closed

Build stops, says file already exists (on Mac OS X) #53

benjamingeer opened this issue Sep 7, 2016 · 5 comments
Assignees
Labels
Milestone

Comments

@benjamingeer
Copy link
Contributor

I did this as instructed in the README:

cd build
rm -rf * ../lib ../local
cmake ..
make

And the build stopped with this:

Performing patch step for 'project_kakadu'
The next patch would create the file make/Makefile-MAC-x86-64-gcc,
which already exists!  Assume -R? [n] 
@benjamingeer benjamingeer added this to the On Deck milestone Sep 7, 2016
@benjamingeer
Copy link
Contributor Author

After I manually delete the contents of the extsrcs directory, make works, but make install does not:

$ make install
[  6%] Built target project_kakadu
[  7%] Built target icc_profiles
[ 12%] Built target project_xz
[ 17%] Built target project_zlib
[ 22%] Built target project_jpeg
[ 27%] Built target project_jbigkit
[ 28%] Performing update step for 'project_tiff'
patching file /Users/benjamingeer/git/Sipi/extsrcs/libtiff-4.0.6/libtiff/tif_dirinfo.c
Reversed (or previously applied) patch detected!  Assume -R? [n]

@benjamingeer
Copy link
Contributor Author

If I then press y, make install completes, and the tests pass.

@benjamingeer
Copy link
Contributor Author

I deleted my Sipi directory, checked out the git repository again, upgraded cmake and everything else supplied by brew, and ran the build again. Again I got this:

$ make install
[  6%] Built target project_kakadu
[  7%] Built target icc_profiles
[ 12%] Built target project_xz
[ 17%] Built target project_zlib
[ 22%] Built target project_jpeg
[ 27%] Built target project_jbigkit
[ 28%] Performing update step for 'project_tiff'
patching file /Users/benjamingeer/git/Sipi/extsrcs/libtiff-4.0.6/libtiff/tif_dirinfo.c
Reversed (or previously applied) patch detected!  Assume -R? [n] 

@benjamingeer benjamingeer changed the title Build stops, says file already exists Build stops, says file already exists (on Mac OS X) Sep 13, 2016
@lrosenth
Copy link
Collaborator

I'll have s look at it!

Lukas

Von meinem iPhone gesendet

Am 13.09.2016 um 11:31 schrieb Benjamin Geer <notifications@github.commailto:notifications@github.com>:

I deleted my Sipi directory, checked out the git repository again, upgraded cmake and everything else supplied by brew, and ran the build again. Again I got this:

$ make install
[ 6%] Built target project_kakadu
[ 7%] Built target icc_profiles
[ 12%] Built target project_xz
[ 17%] Built target project_zlib
[ 22%] Built target project_jpeg
[ 27%] Built target project_jbigkit
[ 28%] Performing update step for 'project_tiff'
patching file /Users/benjamingeer/git/Sipi/extsrcs/libtiff-4.0.6/libtiff/tif_dirinfo.c
Reversed (or previously applied) patch detected! Assume -R? [n]


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com//issues/53#issuecomment-246627150, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFN9zAZvSi1kc8-EVHbk9nQb8Yoc38K3ks5qpm2LgaJpZM4J22oz.

benjamingeer pushed a commit that referenced this issue Sep 19, 2016
@benjamingeer
Copy link
Contributor Author

We updated the README to say that you also have to delete the extsrcs directory when rebuilding, and we changed the Cmake configuration to use PATCH_COMMAND rather than UPDATE_COMMAND to patch the TIFF library. That seems to fix this problem.

lrosenth pushed a commit that referenced this issue Sep 27, 2016
lrosenth added a commit that referenced this issue Oct 3, 2016
commit 3e594b7
Author: LR <rosenth@iml-foxi.iml.unibas.ch>
Date:   Wed Sep 28 14:48:23 2016 +0200

    small code rearrangement

commit c9791dd
Author: Benjamin Geer <benjaminlewis.geer@unibas.ch>
Date:   Mon Sep 19 17:25:29 2016 +0200

    fix: Use PATCH_COMMAND instead of UPDATE_COMMAND so the same patch isn't applied twice (#53)

commit a26eafd
Author: Benjamin Geer <benjaminlewis.geer@unibas.ch>
Date:   Mon Sep 19 16:41:19 2016 +0200

    Update README.md

commit a71cd46
Author: Tobias Schweizer <tobiasschweizer@users.noreply.github.com>
Date:   Wed Sep 14 08:39:27 2016 +0200

    Update README.md

commit 928b6a1
Author: Tobias Schweizer <t.schweizer@unibas.ch>
Date:   Tue Sep 13 10:24:21 2016 +0200

    fix (cookie handling in lua): add improved cookie handling to Knora test config

commit fe0964f
Author: Tobias Schweizer <tobiasschweizer@users.noreply.github.com>
Date:   Thu Sep 8 18:03:26 2016 +0200

    fix (readme): typo

commit af6be24
Author: Tobias Schweizer <tobiasschweizer@users.noreply.github.com>
Date:   Thu Sep 8 17:58:35 2016 +0200

    docs(readme): Carify installation instructions

commit 5087eeb
Author: Lukas Rosenthaler <lukas.rosenthaler@unibas.ch>
Date:   Tue Sep 27 23:50:20 2016 +0200

    Small adjustments

commit 8d1e2ee
Author: Lukas Rosenthaler <lukas.rosenthaler@unibas.ch>
Date:   Sat Sep 24 00:37:26 2016 +0200

    Include fulltext and RTree indexes

commit 9474ca2
Author: LR <rosenth@iml-foxi.iml.unibas.ch>
Date:   Fri Sep 23 17:32:35 2016 +0200

    Better binding of sqlite3 to Lua

commit ff19120
Author: Lukas Rosenthaler <lukas.rosenthaler@unibas.ch>
Date:   Fri Sep 23 01:49:49 2016 +0200

    Lua/Sqlite works

commit 6234a45
Author: Lukas Rosenthaler <lukas.rosenthaler@unibas.ch>
Date:   Wed Sep 14 00:18:58 2016 +0200

    ongoing work

commit cd1f23f
Author: Lukas Rosenthaler <rosenth@surfer-10-191-56-173-hotspot.internet-for-guests.com>
Date:   Fri Sep 9 15:13:35 2016 +0200

    Sqlite integration ongoing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants