Giter VIP home page Giter VIP logo

Comments (10)

stephenlacy avatar stephenlacy commented on September 25, 2024 1

Closing, let me know if you hit errors building with latest

from go-urbit.

e1block avatar e1block commented on September 25, 2024 1

Cool, thanks. Made it work with nearly the same workaround. Believe the trick was a placeholder liburcrypt.pc & liburcrypt.pc.in` files.

from go-urbit.

stephenlacy avatar stephenlacy commented on September 25, 2024

I'm running the same os/version, let me attempt a clean rebuild and see what the error is.

from go-urbit.

e1block avatar e1block commented on September 25, 2024

Awesome, thanks.

from go-urbit.

stephenlacy avatar stephenlacy commented on September 25, 2024

Did you cd urcrypt?

from go-urbit.

e1block avatar e1block commented on September 25, 2024

Yup.

$ pwd
../dev/go-urbit/urcrypt

from go-urbit.

e1block avatar e1block commented on September 25, 2024

Couple things to get past this error:

brew install pkg-config

And these changes:

diff --git a/urcrypt/Makefile.am b/urcrypt/Makefile.am
index 27f4c55..bcccd7e 100644
--- a/urcrypt/Makefile.am
+++ b/urcrypt/Makefile.am
@@ -20,7 +20,7 @@ noinst_HEADERS = urcrypt/util.h \
                 scrypt/libscrypt.h

 # main library
-pkgconfig_DATA = liburcrypt-$(URCRYPT_API_VERSION).pc
+pkgconfig_DATA = liburcrypt.pc
 DISTCLEANFILES = $(pkgconfig_DATA)

 liburcrypt_la_CPPFLAGS = -I$(srcdir)/ed25519/src \
diff --git a/urcrypt/configure.ac b/urcrypt/configure.ac
index bfafbc0..f0503e2 100644
--- a/urcrypt/configure.ac
+++ b/urcrypt/configure.ac
@@ -113,5 +113,5 @@ AM_CONDITIONAL([ARCH_X86_64],  [test "$ARCH" = 'x86_64'])
 AM_CONDITIONAL([ARCH_GENERIC], [test "$ARCH" = 'generic'])

 # Finish and output
-AC_CONFIG_FILES([Makefile liburcrypt-$URCRYPT_API_VERSION.pc:liburcrypt.pc.in])
+AC_CONFIG_FILES([Makefile])
 AC_OUTPUT

Now erroring out on make:

libtool: link: ranlib .libs/liburcrypt.a
libtool: link: rm -fr .libs/liburcrypt.lax
libtool: link: ( cd ".libs" && rm -f "liburcrypt.la" && ln -s "../liburcrypt.la" "liburcrypt.la" )
make[1]: *** No rule to make target `liburcrypt.pc', needed by `all-am'.  Stop.
make: *** [all] Error 2

from go-urbit.

stephenlacy avatar stephenlacy commented on September 25, 2024

Thanks for debugging that error (I'm currently stuck fixing cmake compiling libaes_siv after updating xcode...)

from go-urbit.

e1block avatar e1block commented on September 25, 2024

np. I see. I'm running Xcode 13.2.1 BTW.

from go-urbit.

stephenlacy avatar stephenlacy commented on September 25, 2024

@e1block Try this commit I pushed to master: d791e36

Some of the LD flags are for the latest version of secp256k1 and may not be required.

from go-urbit.

Related Issues (2)

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.