You are not logged in.

#1 2013-10-24 05:26:34

Creak
Member
Registered: 2013-10-23
Posts: 89

[SOLVED] How to get the dev files?

Hi!

I'm new to ArchLinux and I'm coming from Debian.
On Debian, I was used to get the development files simply with the command apt-get install <mypackage>-dev
Is there an equivalent of this on ArchLinux?

Thanks!

Last edited by Creak (2013-10-24 13:26:25)

Offline

#2 2013-10-24 05:31:45

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,346

Re: [SOLVED] How to get the dev files?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2013-10-24 05:32:32

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

Re: [SOLVED] How to get the dev files?

What exactly are you trying to do?
Arch has few foo-devel packages in the repos.

Offline

#4 2013-10-24 05:37:14

Creak
Member
Registered: 2013-10-23
Posts: 89

Re: [SOLVED] How to get the dev files?

Thanks ewaller, I'll dig into that.

@karol, I'm trying to make an project of mine that I was compiling on Debian. It depends on stuff like gtkmm, pthreads, libxml2, etc...

Offline

#5 2013-10-24 05:46:41

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,411

Re: [SOLVED] How to get the dev files?

What Debian splits out into the -dev packages is already included in the regular packages in Arch.

edit, for the record, the -dev package include things like headers, pkgconfig files, etc.

Last edited by Scimmia (2013-10-24 05:47:41)

Offline

#6 2013-10-24 06:02:48

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

Re: [SOLVED] How to get the dev files?

Have you tried using the regular arch packages?


I don't know where pthreads are. I have

/usr/lib/libevent_pthreads-2.0.so.5
/usr/lib/libevent_pthreads-2.0.so.5.1.9
/usr/lib/libevent_pthreads.a
/usr/lib/libevent_pthreads.so
/usr/lib/pkgconfig/libevent_pthreads.pc

which belong to the libevent package.

Last edited by karol (2013-10-24 06:05:31)

Offline

#7 2013-10-24 06:06:28

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,411

Re: [SOLVED] How to get the dev files?

pthread is part of glibc.

Offline

#8 2013-10-24 06:17:09

Creak
Member
Registered: 2013-10-23
Posts: 89

Re: [SOLVED] How to get the dev files?

I thought header files weren't included because I couldn't find them in Anjuta, but in fact I was missing the base-devel group (I think more specifically of pkg-config)

Last edited by Creak (2013-10-24 06:17:54)

Offline

#9 2013-10-24 11:48:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,332
Website

Re: [SOLVED] How to get the dev files?

Much great reading can be done in the bookshelves of /usr/include/

Also, pkgfile is handy - example:

$ pkgfile pthread.h
core/glibc
extra/nacl-toolchain-newlib
community/arm-wince-cegcc-newlib
community/dietlibc
community/gauche
community/mingw32-pthreads

$ pkgfile /usr/include/pthread.h
core/glibc

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB