Giter Site home page Giter Site logo

Comments (14)

dakcarto avatar dakcarto commented on August 29, 2024

Hmm. Just built it here on 10.7.5 with no problems. Need more than the final make error output. Look in ~/Library/Logs/Homebrew/orfeo-40 in the 02.make (or maybe another xx.make, like 03.make) file for the actual error lines. Depending upon how many cores you were using, it may be quite a ways back.

Do you mean fltk is building from a separate Homebrew formula (and that's failing)? If so, maybe you did brew install orfeo instead of brew install orfeo-40, because fltk is no longer a dependency for orfeo-40.

What are the brew install options you are using?

What OS X version and XCode version?

from homebrew-osgeo4mac.

AustinCoates avatar AustinCoates commented on August 29, 2024

OS X version = 10.9.2
XCode = Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)

This is what I get when I run -> brew install dakcarto/osgeo4mac/orfeo-40
==> Downloading http://www.orfeo-toolbox.org/packages/OTB-4.0-rc1.tgz

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "orfeo-40"
Download failed: http://www.orfeo-toolbox.org/packages/OTB-4.0-rc1.tgz


This is what I get when I run -> brew install dakcarto/osgeo4mac/orfeo
==> Installing dependencies for orfeo: fltk, boost, liblas
==> Installing orfeo dependency: fltk
==> Downloading http://fossies.org/linux/misc/fltk-1.3.2-source.tar.gz
Already downloaded: /Library/Caches/Homebrew/fltk-1.3.2.tar.gz
==> Patching
patching file src/Makefile
==> ./configure --prefix=/usr/local/Cellar/fltk/1.3.2 --enable-threads --enable-
==> make install
1 error generated.
make[1]: *** [Fl_Function_Type.o] Error 1
1 error generated.
make[1]: *** [Fl_Menu_Type.o] Error 1
make: *** [install] Error 1

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting

These open issues may also help:
fltk failed to build on 10.9 (https://github.com/Homebrew/homebrew/issues/27404)

I do not have a ~/Library/Logs/Homebrew/orfeo-40 folder but I do have a ~/Library/Logs/Homebrew/fltk folder with 02.make in it. Here are the results from that

https://gist.github.com/tex887/9e5d8b90e1c1c3937dd7


Thanks you for all your help

from homebrew-osgeo4mac.

dakcarto avatar dakcarto commented on August 29, 2024

This is what I get when I run -> brew install dakcarto/osgeo4mac/orfeo-40
==> Downloading http://www.orfeo-toolbox.org/packages/OTB-4.0-rc1.tgz

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "orfeo-40"
Download failed: http://www.orfeo-toolbox.org/packages/OTB-4.0-rc1.tgz

That was just changed via your PR. Do brew update and try again. If that doesn't work, because you've been tinkering with the tap, also do brew tap --repair, or use git to reset the tap's working tree.

Concerning the fltk dependency issue, that lies outside the scope of support for my tap, and should be reported upstream to Homebrew as you have done here, since the issue appears unrelated to the formulae in this tap.

from homebrew-osgeo4mac.

AustinCoates avatar AustinCoates commented on August 29, 2024

It is getting much closer, but I am still getting and error.

this is what I get when I run -> brew install dakcarto/osgeo4mac/orfeo-40
==> Downloading http://www.orfeo-toolbox.org/packages/OTB-4.0.0.tgz
Already downloaded: /Library/Caches/Homebrew/orfeo-40-4.0.0.tgz
==> Downloading http://hg.orfeo-toolbox.org/OTB-Data/raw-file/dec1ce83a5f3/Input/DEM/egm96.grd
Already downloaded: /Library/Caches/Homebrew/orfeo-40--geoid-4.0.0.grd
==> cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/orfeo-40/4.0.0 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_
used as include directory in directory /tmp/orfeo-40-EfO7/OTB-4.0.0/Applications/Utils

-- Configuring incomplete, errors occurred!
See also "/tmp/orfeo-40-EfO7/OTB-4.0.0/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/orfeo-40-EfO7/OTB-4.0.0/build/CMakeFiles/CMakeError.log".

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/dakcarto/homebrew-osgeo4mac/issues

I also have a log file now 01.cmake

https://gist.github.com/tex887/ba47b17df39d31870387

from homebrew-osgeo4mac.

dakcarto avatar dakcarto commented on August 29, 2024

Looking into it, though your issue is now unrelated to this original issue reported.

Please post large log output to a gist or something similar, instead of inline in these comments.

from homebrew-osgeo4mac.

AustinCoates avatar AustinCoates commented on August 29, 2024

OK will do. I am sorry. I am new to this.

from homebrew-osgeo4mac.

dakcarto avatar dakcarto commented on August 29, 2024

I was able to reproduce similar error here. Should be fixed now, or is at least on 10.7.5. Do brew update and try again (fftw should now be fully optional).

from homebrew-osgeo4mac.

dakcarto avatar dakcarto commented on August 29, 2024

Above fix is for orfeo-40. The orfeo formula (3.20) is still broken due to fltk upstream issue.

from homebrew-osgeo4mac.

AustinCoates avatar AustinCoates commented on August 29, 2024

I am still getting an error

when I run -> brew install orfeo-40 this is the error I get

https://gist.github.com/tex887/ca5e5fa0da666313e187

from homebrew-osgeo4mac.

dakcarto avatar dakcarto commented on August 29, 2024

Sorry, but that just says there is an error. Either post the build log to a gist or run install with the verbose flag and post that to a gist (should be near identical output), i.e.:

brew install orfeo-40 -v

Read man brew for info on verbose and the debug mode of install.

from homebrew-osgeo4mac.

dakcarto avatar dakcarto commented on August 29, 2024

I noticed the build was at 97% when it failed. You do not have to post the entire xx.make log as it may be really large for orfeo-40. You'll just need to post the relevant parts (from end back to actual error) to a gist.

from homebrew-osgeo4mac.

AustinCoates avatar AustinCoates commented on August 29, 2024

Here is the 02.make file it includes the error

https://gist.github.com/tex887/da32869cafbd7fa62737

from homebrew-osgeo4mac.

dakcarto avatar dakcarto commented on August 29, 2024

That error should be reported upstream to OTB. There seems to be something incompatible with OTB-4.0.0/Applications/Classification/otbComputeConfusionMatrix.cxx where it uses:

GetParameterImage<Int32ImageType>

And the way that Clang 5.1 processes the types, i.e. shouldn't be otb::Image<int, 2u>. I think there is a more direct means of getting the image, maybe with InputImageParameter::GetInt32Image(), but can't test here because I'm not using Clang 5.1 and probably won't be upgrading my 10.9.2 install to it any time soon.

from homebrew-osgeo4mac.

dakcarto avatar dakcarto commented on August 29, 2024

Original issue should be fixed upstream at Homebrew now. Closing issue. If you need to open another issue, regarding this tap's formulae and OTB, please do so.

from homebrew-osgeo4mac.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.