On Tue, 24 Nov 2015 10:53:27 +0100, egodfred <egodfre...@gmail.com> wrote:
cmake -DCMAKE_PREFIX_PATH=/sw \
> -DCMAKE_INSTALL_PREFIX=/sw/src/fink.build/root-gl2ps-1.3.9-1/sw \
> -DCMAKE_INSTALL_NAME_DIR=/sw/lib \
>
> .. 
> . 
> . 
> . 
> . 
> . 
> [100%] Linking C executable gl2psTestSimple
> (/sw/share/texmf-dist/tex/latex/base/article.cls[100%] Linking C 
> executable gl2psTest
> (/sw/share/texmf-dist/tex/latex/url/url.styld: symbol(s) not found 
> for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> )make[2]: *** [libgl2ps.1.3.9.dylib] Error 1
> make[1]: *** [CMakeFiles/shared.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs.... 
>
> )
> make[2]: *** [gl2psTestSimple] Error 1
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> make[1]: *** [CMakeFiles/gl2psTestSimple.dir/all] Error 2
> make[2]: *** [gl2psTest] Error 1
> make[1]: *** [CMakeFiles/gl2psTest.dir/all] Error 2
>
> ))) (./gl2ps.aux)
> make: *** [all] Error 2
> ### execution of /tmp/fink.VZ98_ failed, exit code 2
> ### execution of /tmp/fink.aIeQr failed, exit code 2
> Removing runtime build-lock... 
> Removing build-lock package... 
> /sw/bin/dpkg-lockwait -r fink-buildlock-gl2ps-1.3.9-1
> (Reading database ... 248711 files and directories currently installed.)
> Removing fink-buildlock-gl2ps-1.3.9-1 ... 
> Failed: phase compiling: gl2ps-1.3.9-1 failed
>
> Package manager version: 0.39.2
> Distribution version: selfupdate-rsync Tue Nov 24 10:37:03 2015, 
> 10.10, x86_64
> Trees: local/main stable/main stable/crypto
> Xcode.app: 7.1.1
> Xcode command-line tools: 7.1.0.0.1.1444952191
>
> Max. Fink build jobs:  4
>
> I already built also using just 1 job and the compilation still failed. 

The use of 1 job also provides better debugging information, so it 
would be useful to see the output of *that*. If it fails, it fails in a 
more easily understood way. But also, there is a mistake in the build 
script that makes it even harder to decipher it. In 
/sw/fink/dists/stable/main/finkinfo/graphics/gl2ps.info (at least 
that's the pathname on my 10.10 machine), line 23:

make verbose=1

should be all-caps verbose:

make VERBOSE=1

to make it actually verbose enough to see the actual command that fails 
rather than just the result that it failed. For the record, it builds 
successfully for me on 10.10, both with and without the package already 
installed. 

dan

--
Daniel Macks
dma...@netspace.org


------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to