Hi,
I don't understand why, but I cannot make the pd_include_HEADERS install at all. The only include-file that is installed it m_pd.h. I checked the Makefile in src/, but I did not find any reason for this missbehaviour. What I need is especially the s_stuff.h.
During './configure --prefix=/usr --mandir=/usr/share/man --includedir=/usr/include --enable-alsa --enable-jack' (I tried both, with and without the --includedir option) I get this warning:
config.status: WARNING: 'makefile.in' seems to ignore the --datarootdir setting
Is that related in any ways? During make and make install everything looks just fine.
Does anybody else encounter this problem? I'm on archlinux. Any help would be highly appreciated!
Best,
Bjoern
P.s. please tell me, if you need more information, like the output of 'make install' or something similar.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-01-11 09:42, Bjoern Lindig wrote:
Hi,
I don't understand why, but I cannot make the pd_include_HEADERS install at all. The only include-file that is installed it m_pd.h. I checked the Makefile in src/, but I did not find any reason for this missbehaviour. What I need is especially the s_stuff.h.
During './configure --prefix=/usr --mandir=/usr/share/man --includedir=/usr/include --enable-alsa --enable-jack' (I tried both, with and without the --includedir option) I get this warning:
config.status: WARNING: 'makefile.in' seems to ignore the --datarootdir setting
Is that related in any ways? During make and make install everything looks just fine.
not it's not really related.
however, it tells us, that you are using the wrong build-system!
only if you run "./autogen.sh && ./configure && make install" from the Pd-root your header files will be installed. the old build-system in src/ will _not_ do that for you.
fgmasdrt IOhannes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Thanks IOhannes, that allready helped a lot. But it did not solve the problem. There is still no pd folder in /usr/include. Everything else is there, but not the headers. Is there an option to set in for the configure script? I allready set the --includedir option to /usr/include, but that didn't help either.
Best,
Bjoern
On Wed, 11 Jan 2012 13:15:26 +0100 IOhannes m zmoelnig zmoelnig@iem.at wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-01-11 09:42, Bjoern Lindig wrote:
Hi,
I don't understand why, but I cannot make the pd_include_HEADERS install at all. The only include-file that is installed it m_pd.h. I checked the Makefile in src/, but I did not find any reason for this missbehaviour. What I need is especially the s_stuff.h.
During './configure --prefix=/usr --mandir=/usr/share/man --includedir=/usr/include --enable-alsa --enable-jack' (I tried both, with and without the --includedir option) I get this warning:
config.status: WARNING: 'makefile.in' seems to ignore the --datarootdir setting
Is that related in any ways? During make and make install everything looks just fine.
not it's not really related.
however, it tells us, that you are using the wrong build-system!
only if you run "./autogen.sh && ./configure && make install" from the Pd-root your header files will be installed. the old build-system in src/ will _not_ do that for you.
fgmasdrt IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8NfVoACgkQkX2Xpv6ydvRANgCfcWrKgwBVqqOMHAuTuPqZwnPm p0sAnREulfkvdEymlk4RCXt/kN/LqN+4 =L+A6 -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-01-11 20:31, Bjoern Lindig wrote:
Thanks IOhannes, that allready helped a lot. But it did not solve the problem. There is still no pd folder in /usr/include. Everything else is there, but not the headers. Is there an option to set in for the configure script? I allready set the --includedir option to /usr/include, but that didn't help either.
probably you should _not_ set anything. the default is to install headers into ${prefix}/include (and ${prefix}/include/pd), with prefix=/usr/local
if you want Pd to install into /sr rather than /usr/local, you should simply specify the prefix with "--prefix=/usr" messing around with includedir, libdir and the like is most likely making more troubles than it solves.
anyhow; the first thing i would try is:
$ ./configure
$ make install DESTDIR=/tmp/pd/
and then inspect the contents of /tmp/pd/ and see where the headers got installed.
you could also directly try the "make install DESTDIR=..." trick, and see where you told Pd to install with all your configure flags...
in the end, i suspect that you simply lack the priviliges to install into /usr/include :-)
fgmar IOhannes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jippie! It worked. I did as you told me, and removed all the unneccessary options. Then I made a complete new build and Schwups, there it was my /usr/include/pd/ with everything in it.
Many thanks, IOhannes, and sorry for the trouble!
Best,
Bjoern
On Thu, 12 Jan 2012 09:14:43 +0100 IOhannes m zmoelnig zmoelnig@iem.at wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-01-11 20:31, Bjoern Lindig wrote:
Thanks IOhannes, that allready helped a lot. But it did not solve the problem. There is still no pd folder in /usr/include. Everything else is there, but not the headers. Is there an option to set in for the configure script? I allready set the --includedir option to /usr/include, but that didn't help either.
probably you should _not_ set anything. the default is to install headers into ${prefix}/include (and ${prefix}/include/pd), with prefix=/usr/local
if you want Pd to install into /sr rather than /usr/local, you should simply specify the prefix with "--prefix=/usr" messing around with includedir, libdir and the like is most likely making more troubles than it solves.
anyhow; the first thing i would try is:
- run ./configure without any arguments (regarding the installation
place) $ ./configure
- install into a test destination
$ make install DESTDIR=/tmp/pd/
and then inspect the contents of /tmp/pd/ and see where the headers got installed.
you could also directly try the "make install DESTDIR=..." trick, and see where you told Pd to install with all your configure flags...
in the end, i suspect that you simply lack the priviliges to install into /usr/include :-)
fgmar IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8OlnAACgkQkX2Xpv6ydvRLcwCdHL7rIkKLp4C+dzc6q8ZygSZ/ auUAn211Ry+z0BZZvaphENctryd3hJs9 =9XRx -----END PGP SIGNATURE-----