Re: Bacula on 1.92
"Tom 'spot' Callaway" <[email protected]>
| Newsgroups | gmane.linux.aurora.user |
|---|---|
| Organization | Red Hat |
| Message-ID | <[email protected]> |
On Sat, 2006-10-21 at 09:15 +0100, Steve Blackwell wrote: > I am running aurora 1.92 on an ultra 5 and it has been running perfectly for 2 years now. > > I have just tried to compile/install Bacula 1.38.11 (client) on it and > have got the following error messages during the configure phase of the > compile. > > (These are an extract) > /usr/include/bits/socket.h:304:24: asm/socket.h: No such file or directory > In file included from /usr/include/sys/ioctl.h:27, > from ../bacula.h:92, > from console_conf.c:37: > /usr/include/bits/ioctls.h:24:24: asm/ioctls.h: No such file or directory > In file included from /usr/include/bits/ioctls.h:37, > from /usr/include/sys/ioctl.h:27, > from ../bacula.h:92, > from console_conf.c:37: > /usr/include/linux/sockios.h:21:25: asm/sockios.h: No such file or directory > In file included from /usr/include/sys/ioctl.h:30, > from ../bacula.h:92, > from console_conf.c:37: > /usr/include/bits/ioctl-types.h:25:24: asm/ioctls.h: No such file or > directory > > I have tried # sparc32 bash before I compiled and I get the same result. Eww. Userspace app using kernel headers. Your best bet here would be to get the Aurora 1.92 kernel SRPM, install it (rpm -ivh kernel*.src.rpm), then prep the tree (rpmbuild -bp /usr/src/redhat/SPECS/kernel*.spec), then go into /usr/src/redhat/BUILD/kernel-*/linux*/include/ and make a symlink from asm-sparc to asm. Last but not least, you'd want to add the following flag to the bacula compile string: -I/usr/src/redhat/BUILD/kernel-*/linux*/include/ In that string, you want to replace the * with the actual values in the path, so it looks the same as when you type `pwd` in the include directory of the kernel source tree. Then, bacula should get past those errors. Of course, it might just as likely explode again, but its step one. In the next major Aurora build, we're going to have proper kernel headers in place for both sparc and sparc64, so this shouldn't be a problem. ~spot -- Tom "spot" Callaway || Red Hat || Fedora || Aurora || GPG ID: 93054260 "We must not confuse dissent with disloyalty. We must remember always that accusation is not proof and that conviction depends upon evidence and due process of law. We will not walk in fear, one of another. We will not be driven by fear into an age of unreason, if we dig deep in our history and our doctrine, and remember that we are not descended from fearful men -- not from men who feared to write, to speak, to associate and to defend causes that were, for the moment, unpopular." -- Edward R. Murrow, March 9, 1954 _______________________________________________ Aurora-sparc-user mailing list [email protected] http://lists.auroralinux.org/mailman/listinfo/aurora-sparc-user Aurora FAQ: http://www.ecs.soton.ac.uk/~mas01r/aurorafaq.html