hi all
i want install multipath-tools-0.5.0 from source, but i got this error:
fatal error: systemd/sd-daemon.h: No such file or directory
i find /usr/share/doc/packages/systemd/sd-daemon.h
does anybody have solution for this?
my os version is:openSUSE 12.1 (i586)
VERSION = 12.1
CODENAME = Asparagus
PATH is an environment variable. You can see what is is with $PATH but What you want to do is link the file to a location the is on the path. For more info look at the man file
man ln
Or you could simply copy the file to a better loactaion
Since you are using generic code there are probably some differences in the location different Linux distro put things. you need to adjust to openSUSE
This is about the C compiler not finding an include file ( systemd/sd-daemon.h).
The PATH does not matter at all here.
And for libraries the PATH does not matter either.
That said, systemd/sd-daemon.h is contained in the package systemd-devel.
Why you get an error about util-linux when trying to install that I don’t know.
But you cannot fix package dependencies by creating a symlink.
1.i install nginx mysql on this server and have 2 site on it, my storage is full and now we add qlogic fiber channel.
we add 500Gb storage in SAN but in server shows 2 disk:
Server-CRM-Redirect:/ # fdisk -l
Disk /dev/sda: 293.6 GB, 293564211200 bytes
255 heads, 63 sectors/track, 35690 cylinders, total 573367600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0a750a75
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 401407 199680 83 Linux
/dev/sda2 401408 12980223 6289408 82 Linux swap / Solaris
/dev/sda3 12980224 573366271 280193024 83 Linux
Disk /dev/sdc: 500.0 GB, 499999965184 bytes
255 heads, 63 sectors/track, 60788 cylinders, total 976562432 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 1048576 bytes
Disk identifier: 0x00000000
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/sdb: 500.0 GB, 499999965184 bytes
255 heads, 63 sectors/track, 60788 cylinders, total 976562432 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 1048576 bytes
Disk identifier: 0x00000000
Disk /dev/sdb doesn't contain a valid partition table
Server-CRM-Redirect:/ #
multipathd service doesn’t start, i see this topic and i want install it from source.
2.we use 12.1 because never try to update
3.i never use zypper
Why do you have all those 12.2 repos?
They probably are the cause of your problem (the 12.2 updates repo in particular).
Most of those repos do not even exist any more.
But you should never use the update repo in a different openSUSE version than it’s intended for.
So, the best thing would be to either remove those, or upgrade (although in this case I would definitely not recommend 12.2, rather a supported version like 12.3 or 13.1)…
Like Wolfi already pointed out - you should remove the 12.2 repos and use only those designed for the distribution version or you’ll run into dependency errors.
If you remove them, you should be able to install the required dependencies and compile it.
On 2014-09-27 21:56, ooghry wrote:
>
> Miuku;2666804 Wrote:
>>
>> - What does the system do? What is the purpose of the server?
>> - Why are you running 12.1?
>>
> 1.i install nginx mysql on this server and have 2 site on it,
I hope you are aware of the ‘Shellshock’ Bug. Your site is vulnerable.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)