Libsmbios: Difference between revisions
From CBLFS
Jump to navigationJump to search
New page: {| style="text-align: left; background-color: AliceBlue;" |-valign="top" !Download Source: | http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-2.0.3/libsmbios-2.0.3.tar.gz |} -... |
Devilsclaw (talk | contribs) |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
|-valign="top" | |-valign="top" | ||
!Download Source: | !Download Source: | ||
| http://linux.dell.com/libsmbios/download/libsmbios/libsmbios- | | http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-{{Libsmbios-Version}}/libsmbios-{{Libsmbios-Version}}.tar.gz | ||
|} | |} | ||
| Line 10: | Line 10: | ||
== Dependencies == | == Dependencies == | ||
=== Required === | |||
* [[LibXML2]] | |||
== Non-Multilib == | == Non-Multilib == | ||
| Line 22: | Line 25: | ||
make install | make install | ||
Copy the headers to use by other applications (such as | Copy the headers to use by other applications (such as [[HAL]]) | ||
cp -prfv include/smbios /usr/include | cp -prfv src/include/smbios /usr/include | ||
== Multilib == | == Multilib == | ||
| Line 30: | Line 33: | ||
=== 32Bit === | === 32Bit === | ||
Compile the package: | |||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH32" && | |||
export USE_ARCH=32 && | |||
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | |||
./configure --prefix=/usr && | |||
make | |||
Install the package | |||
make install | |||
unset PKG_CONFIG_PATH | |||
unset USE_ARCH | |||
Copy the headers to use by other applications (such as [[HAL]]) | |||
cp -prfv src/include/smbios /usr/include | |||
=== N32 === | === N32 === | ||
Compile the package: | |||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATHN32" && | |||
export USE_ARCH=N32 && | |||
sed -i "/yumplugindir/s:/lib:&32:" Makefile.in && | |||
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | |||
./configure --prefix=/usr --libdir=/usr/lib32 && | |||
make | |||
Install the package | |||
make install | |||
unset PKG_CONFIG_PATH | |||
unset USE_ARCH | |||
Copy the headers to use by other applications (such as [[HAL]]) | |||
cp -prfv src/include/smbios /usr/include | |||
=== 64Bit === | === 64Bit === | ||
Compile the package: | |||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" && | |||
export USE_ARCH=64 && | |||
sed -i "/yumplugindir/s:/lib:&64:" Makefile.in && | |||
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | |||
./configure --prefix=/usr --libdir=/usr/lib64 && | |||
make | |||
Install the package | |||
make install | |||
unset PKG_CONFIG_PATH | |||
unset USE_ARCH | |||
Copy the headers to use by other applications (such as [[HAL]]) | |||
cp -prfv src/include/smbios /usr/include | |||
Latest revision as of 16:16, 30 August 2009
| Download Source: | http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-2.2.19/libsmbios-2.2.19.tar.gz |
|---|
Introduction to Libsmbios
The libsmbios project aims towards providing access to as much BIOS information as possible. It does this by providing a library of functions that can be used as well as sample binaries.
Project Homepage: http://linux.dell.com/libsmbios/main/index.html
Dependencies
Required
Non-Multilib
Compile the package:
./configure --prefix=/usr && make
Install the package
make install
Copy the headers to use by other applications (such as HAL)
cp -prfv src/include/smbios /usr/include
Multilib
32Bit
Compile the package:
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH32" &&
export USE_ARCH=32 &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
./configure --prefix=/usr &&
make
Install the package
make install unset PKG_CONFIG_PATH unset USE_ARCH
Copy the headers to use by other applications (such as HAL)
cp -prfv src/include/smbios /usr/include
N32
Compile the package:
export PKG_CONFIG_PATH="$PKG_CONFIG_PATHN32" &&
export USE_ARCH=N32 &&
sed -i "/yumplugindir/s:/lib:&32:" Makefile.in &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make
Install the package
make install unset PKG_CONFIG_PATH unset USE_ARCH
Copy the headers to use by other applications (such as HAL)
cp -prfv src/include/smbios /usr/include
64Bit
Compile the package:
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" &&
export USE_ARCH=64 &&
sed -i "/yumplugindir/s:/lib:&64:" Makefile.in &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make
Install the package
make install unset PKG_CONFIG_PATH unset USE_ARCH
Copy the headers to use by other applications (such as HAL)
cp -prfv src/include/smbios /usr/include