You are not logged in.

#1 2013-10-30 19:32:59

srf21c
Member
Registered: 2012-04-16
Posts: 24

Need /usr/lib/libcurl.a in order to build cyphertite from source

I'm trying to compile Cypthertite from source using this script:  http://gbpaste.org/JRkRl ... and it's failing because it can't find /usr/lib/libcurl.a

I have searched and searched but am unable to find any package or tarball that contains this file. Apparently other distros of linux include it, maybe someone knows where I can obtain this library for Arch x64.

Last edited by srf21c (2013-10-30 19:34:05)

Offline

#2 2013-10-30 19:37:38

msthev
Member
Registered: 2012-04-05
Posts: 177

Re: Need /usr/lib/libcurl.a in order to build cyphertite from source

Offline

#3 2013-10-30 19:47:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Need /usr/lib/libcurl.a in order to build cyphertite from source

As msthev wrote, static libraries have been removed. You can recompile curl if you need them.

Offline

#4 2013-10-30 19:54:34

srf21c
Member
Registered: 2012-04-16
Posts: 24

Re: Need /usr/lib/libcurl.a in order to build cyphertite from source

What do I do if the package I need is in the Arch core repository instead of the AUR? I can download an AUR tarball and modify PKGBUILD easily enough, but not sure how to proceed with items not in AUR.

Update: Nevermind,  found out where to get the PKGBUILD file.  https://projects.archlinux.org/svntogit … kages/curl

Last edited by srf21c (2013-10-30 19:56:26)

Offline

#5 2013-10-30 19:56:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Need /usr/lib/libcurl.a in order to build cyphertite from source

Offline

#6 2013-10-30 20:00:45

srf21c
Member
Registered: 2012-04-16
Posts: 24

Re: Need /usr/lib/libcurl.a in order to build cyphertite from source

I downloaded the PKGBUILD file, edited the options line like so
options=('strip' 'debug' 'staticlibs')

the ran makepkg and it failed with this error:

==> ERROR: curlbuild.h was not found in the build directory and is not a URL.

Update.: Bah, ok now I see that I have to manually create curlbuild.h in the same directoly. It's compling now.

Last edited by srf21c (2013-10-30 20:07:58)

Offline

#7 2013-10-30 20:05:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Need /usr/lib/libcurl.a in order to build cyphertite from source

Please use ABS.

Offline

#8 2013-10-31 03:31:54

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Need /usr/lib/libcurl.a in order to build cyphertite from source

Or at least download *all* of the source files
https://projects.archlinux.org/svntogit … kages/curl

Offline

#9 2013-10-31 03:40:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Need /usr/lib/libcurl.a in order to build cyphertite from source

Sometimes you need other files, not just the PKGBUILD. It's true for both packages from the AUR and from the official repos.
patches, install files, configs ...

Offline

Board footer

Powered by FluxBB