compilation and missing include files

Post here if you are a new Porteus member and you're looking for some help.
shotokanbeginner
Ronin
Ronin
Posts: 2
Joined: 08 Mar 2014, 09:04
Distribution: latest only
Location: sydney

compilation and missing include files

Post#1 by shotokanbeginner » 08 Mar 2014, 09:16

Hi,
I have only started using Porteus recently. Been using other small distros and came across porteus. It's been a great distro so far.

I have a question which I cannot find much info on the net so far, so hope I am not repeating anything here.

I am trying to compile postgresql from source, and ./configure had no issues finishing. When I run make, I am failing as it cannot find some header files as show below.

can anyone please let me know which porteus package to activate to include these files?

I am using 32 bit intel dell laptop.

Thank you.

conftest.c:17:28: fatal error: ac_nonexistent.h: No such file or directory
conftest.c:17:28: fatal error: ac_nonexistent.h: No such file or directory
conftest.c:67:17: fatal error: dld.h: No such file or directory
conftest.c:34:17: fatal error: dld.h: No such file or directory
conftest.c:67:22: fatal error: fp_class.h: No such file or directory
conftest.c:34:22: fatal error: fp_class.h: No such file or directory
conftest.c:68:20: fatal error: ieeefp.h: No such file or directory
conftest.c:35:20: fatal error: ieeefp.h: No such file or directory
conftest.c:75:23: fatal error: sys/pstat.h: No such file or directory
conftest.c:42:23: fatal error: sys/pstat.h: No such file or directory
conftest.c:80:24: fatal error: sys/sockio.h: No such file or directory
conftest.c:47:24: fatal error: sys/sockio.h: No such file or directory
conftest.c:80:21: fatal error: sys/tas.h: No such file or directory
conftest.c:47:21: fatal error: sys/tas.h: No such file or directory
conftest.c:83:19: fatal error: ucred.h: No such file or directory
conftest.c:50:19: fatal error: ucred.h: No such file or directory
conftest.c:90:23: fatal error: sys/ucred.h: No such file or directory
conftest.c:111:29: fatal error: machine/vmparam.h: No such file or directory

User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: compilation and missing include files

Post#2 by Slaxmax » 08 Mar 2014, 23:36

Is there a better way to make slackware package
http://slackbuilds.org/repository/14.1/ ... postgresql

Using SlackBuild Scripts
http://www.slackwiki.com/SlackBuild_Scripts
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

shotokanbeginner
Ronin
Ronin
Posts: 2
Joined: 08 Mar 2014, 09:04
Distribution: latest only
Location: sydney

Re: compilation and missing include files

Post#3 by shotokanbeginner » 09 Mar 2014, 01:04

Yes, 32 bit laptop. Also chose the 32 bit KDE build of porteus iso. I boot and load the entire iso to RAM.

When I used the USM to search for postgrest, it found none but there was a version at slackware. I confirmed download and it did the rest of downloading the sources.

When I run the .Slackbuild, that's when I got the errors and it stopped building.

I then tried a different tack and downloaded the straight source from postgresql.org and configure+build without an issue.

So must be somewhere in the slackbuild script that causing this.

Post Reply