I'd add "echo 'libcryptopp.so was not built/installed.'" message.


On 8/29/10 04:21 AM, Jeffrey Walton wrote:
> Hi All/Wei,
>
> The following should allow make to properly finish when running make install:
> ~/cryptopp$ sudo make install
> mkdir -p /usr/include/cryptopp /usr/lib /usr/bin
> cp *.h /usr/include/cryptopp
> cp *.a /usr/lib
> cp *.so /usr/lib
> cp: cannot stat `*.so': No such file or directory
> make: *** [install] Error 1
>
> Jeff
>
> ~/cryptopp$ svn diff GNUmakefile > GNUmakefile.diff
> :~/cryptopp$ cat GNUmakefile.diff
> Index: GNUmakefile
> ===================================================================
> --- GNUmakefile       (revision 521)
> +++ GNUmakefile       (working copy)
> @@ -143,7 +143,8 @@
>       $(MKDIR) -p $(PREFIX)/include/cryptopp $(PREFIX)/lib $(PREFIX)/bin
>       $(CP) *.h $(PREFIX)/include/cryptopp
>       $(CP) *.a $(PREFIX)/lib
> -     $(CP) *.so $(PREFIX)/lib
> +     # $(CP) *.so $(PREFIX)/lib
> +     if (test -f *.so) then ($(CP) *.so $(PREFIX)/lib) fi
>       $(CP) *.exe $(PREFIX)/bin
>
>  libcryptopp.a: $(LIBOBJS
-- 
Regards,
Mouse

-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.

Reply via email to