General :: Create Rpm From Pre Compile Tar.gz

Apr 22, 2011

I want to create rpm from tar.gz, what I want to know is,

1= download tar.gz
2= untar this tar.gz file
3= run ./configure command.
4= now I want to create rpm file to install my package via rpm so I can uninstall easy and redistribute this rpm to my friends.

(or I have to run "make" command also after step 3, then go to step 4 to create rpm) please help me with step by step commands, so I can create rpm with my own compiled options of package.

View 6 Replies


ADVERTISEMENT

General :: Create A Command In The Vim That Saves A Text Document And Also Compile It?

Feb 27, 2011

I would like to create a command in the vim that saves a text document and also compile it. Is it possible?

View 4 Replies View Related

General :: Create Linux-libc-dev Package When Compile Ubuntu Kernel?

May 6, 2011

I've compiled the last stable ubuntu kernel (2.6.38-...) following this guide: How to compile a Ubuntu 10.10 kernel but in this guide doesn't explain how create linux-libc-dev package for that kernel? How do I do?

I've tried with fakeroot debian/rules binary-arch-headers but it returns an, IMHO, absurd error:

mkdir /home/simon/sources/kernel/ubuntu-natty/debian/linux-libc-dev/usr/include/
mkdir: cannot create directory `/home/simon/sources/kernel/ubuntu-natty/debian/linux-libc-dev/usr/include/': File exists
make: *** [install-arch-headers] Error 1

The error is correct but this folder is created in the same process!

View 1 Replies View Related

Software :: Compile Error With Ntfs-3g - C Compiler Cannot Create Executables

Jun 10, 2010

I'm trying to do a ./configure on ntfs-3g, and I get this error that says "error: C compiler cannot create executables." I have gcc, g++ and everything installed, but I don't have build-essential. It's an offline server so I can't use apt-get to install it. I also can't find an RPM for CentOS. Is that what I need to resolve this? Or is this error caused by something else?

View 8 Replies View Related

Red Hat / Fedora :: Makfile Which Can Compile A Tree For Source File And Create Output In Separate Directory

Jul 29, 2010

I am new to linux platform and my requirment is to write a makfile which can compile a tree for source file and create the output in separate directory .

View 1 Replies View Related

General :: Create A Script That Will Simply Create A DIR With Date And Autorun Itself Every 24 Hours?

Jan 17, 2010

i am running into few problems with the script here. I have an FTP server, all configured, and i need to have a script that will create a folder with current dated within a tree as soon as particular user logs in. I was wondering if that is possible with proftpd. if not, can someone suggest how to create a script that will simply create a DIR with date and autorun itself every 24 hours? i am running Debian/Proftpd with Mysql authorization.

View 14 Replies View Related

General :: Compile Vim 7.3 With +signs On OSX 10.6.6?

Jun 3, 2011

I'm trying to follow this guide http://tech.blog.box.net/2007/06/20/how-to-debug-php-with-vim-and-xdebug-on-linux/ and I need to compile Vim with signs and python options.I have: downloaded the latest source with hg clone https://vim.googlecode.com/hg/ vim uncommented the signs feature in src/feature.hran ./configure --enable-perlinterp --enable-pythoninterp with no errorsran make with this output and errors that I don't understand and can't find on google:

$ make
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 -D_FORTIFY_SOURCE=1 -o objects/ex_cmds.o ex_cmds.c

[code]....

View 1 Replies View Related

General :: Compile Centos Without SMP?

Feb 12, 2010

I have an issue with a specific piece of hardware running an Asterisk PBX. Basically it freezes at some times. I've noticed its running an SMP kernel (Centos 5.4), and i'm hoping i can disable this/recompile kernetl without SMP support. How can i do this?

It's running a VIA C7 cpu.

Code:
[root@localhost asterisk-1.4.29]# cat /proc/cpuinfo
processor : 0
vendor_id : CentaurHauls
cpu family : 6

[Code]....

How can i disable SMP, and see if its maybe this tha'ts causing the problems?

I have tried appending nosmp or maxcpus=0 and noreplace-smp to the kernel line in /boot/grub/menu.lst,but it keeps loading the smp kernel....

View 3 Replies View Related

General :: Compile Kernel Which Is Old One?

Oct 14, 2010

I wanna compile tha kernel which is old one.how to do that.

View 8 Replies View Related

General :: Compile And Run A Cpp File Using Only One Command?

Jun 24, 2010

Recently I've started to learn cpp language on linux,and now I run a cpp file using following commands. g++ -o xxx xxx.cpp./xxxIs there a way to make it one line command such as compile-and-run xxx.cpp?

View 5 Replies View Related

General :: Compile Gvim From Sources?

May 25, 2011

Recently, I've installed vim like so:

hg clone https://vim.googlecode.com/hg/ vim
cd vim
sudo ./configure --enable-rubyinterp=yes --enable-pythoninterp=yes --enable-gui=gtk2 --prefix=/opt/vim
make
make install
make install clean

So, my VIM's binaries now live under /opt/vim/bin. Here is ls -la of this dir:

[Code]...

View 2 Replies View Related

General :: How To Compile Source For PowerPC

Apr 7, 2010

I have a linux source (linux-2.4.1) which is for intel. I am using powerpc compiler and I need to compile this linux source for powerpc. I did cross compilation, but it dint workout well. How to do it.

View 5 Replies View Related

General :: Cant Compile The Newest Kernel?

Dec 11, 2010

Recently i downloaded the stable version of kernel from kernel.org then i extract the tarball to /usr/src path , then after i complile the kernel for fuse and ext4 modulescommand which i use is mention below

[root@localhost linux-2.6.36.1]# make menuconfig
[root@localhost linux-2.6.36.1]# make
[root@localhost linux-2.6.36.1]# make modules

[code]...

View 2 Replies View Related

General :: Compile A Code From A Different Directory?

Jul 14, 2010

I do a lot of programming and I have to compile the code quite often. It's not convenient to move to the directory that contains the source code every time I want to compile it. So is there a way to compile a code from the my current directory (say /home example) without moving to the directory that contains the source. I remember being able to do this but forgotten how.

EDIT: I'm using makefiles to compile. Lets say I'm in the home directory and when I type

make -f /code/make_file

this doesn't seem to work

View 4 Replies View Related

General :: Correct Way To Compile A Kernel?

May 24, 2010

I want to boot into a new kernel like 2.6.34 over the default 2.6.18 RH/centos kernel. i know you cant copy the .config file and use it since there are so many changes so what is the best way to compile the kernel and get the right settings?

View 1 Replies View Related

General :: Error - Compile Glibc ?

Jun 2, 2010

I need to compile glibc.

What is this error ?

Code:

View 5 Replies View Related

General :: How To Compile Kernel For Better Speed

Apr 3, 2010

I'm looking for a good kernel guide for practical tips on how to compile my kernel for better speed. At the moment I'm using genkernel under gentoo and just taking the default options (with a splash). This compiles for ages and takes a good while to load.The kind of things I'm looking for are advice on:Removing modules from the kernel that are not loaded during normal use.Core components which can (and should) be loaded as non-modules for speed of boot.How to save and load kernel options so they don't have to be repeated every time I want to compile a kernel.

View 5 Replies View Related

General :: How To Compile Gstreamer - Gst-inspect Can't Cd

Dec 8, 2010

I am able to compile gstreamer just fine, but when I port it to the platform where I want to use gstreamer gst-inspect comes back with: "can't cd to /home/MY_HOME_FOLDER".

MY_HOME_FOLDER is the folder where gstreamer and all of its tools got compiled in.

So, how do I tell configure script (or whatever decides to remember this path) to use common Linux paths so when I port gst-inspect to /usr/bin it would work OK?

View 1 Replies View Related

General :: Compile Kernel 2.6.31 On Fedora 12?

Jan 1, 2010

i tried to compile linux kernel 2.6.31 on Fedora 12: the make , make modules and modules install ran successfully but problem with make install while trying to create image it looks for mkinitrd command which is not available i downloaded and installed the mkinitrd pckg and make install was now successful i got kernel img and initrd img in /boot

also grub was updated properly but i m not able to boot up the new kernel the problem the initrd seems to be and uknown type file to fedora core and the current kernel has initramfs img with a .cpio extn instead of initrd

View 3 Replies View Related

General :: Re-compile The Kernel To Get UDF Support?

Aug 31, 2010

A while back I compiled a custom kernel, 2.6.35. I forgot to add UDF support when configuring and compiling. Will I need to re-compile the kernel to get UDF support or is there some other way I can add it?

View 6 Replies View Related

General :: Compile And Install New Kernel 3.0?

Aug 1, 2011

I am gonna compile and install new kernel 3.0?
what is your suggestion?
shall i? on my duo Core? with 2.7 gb ram?

View 1 Replies View Related

General :: Can't Compile An Older Version Of Gcc

Jan 26, 2011

No matter which glibc I use, I get the error that I need a compiler that supports visibility. I'm using 4.4.5, so it can't be too old.What is the visibility for gnu, this is a compile for glibc.Any glibc fails for the same reason. I can't compile an older version of gcc, more errors. Is it possible to turn off the check for visibility?

View 1 Replies View Related

General :: Can't Compile C++ Programs On OPENSUSE

May 15, 2011

pgm of mine is not getting compiled

#include<iostream>
int main()
{
cout<<"Hi
";
}//Saved as g.cpp

The foll. error is shown on compiling as c++ g.cpp or gcc c.cpp or cc g.cpp
and i've gcc 4.5

g.cpp: In function int main():
g.cpp:5:2: error: cout was not declared in this scope
v

View 1 Replies View Related

General :: Compile Kernel On Fedora 10?

Apr 5, 2010

so my problem is how to recompile my kerenl with TUN/TAP driver,i got how to compile the kernel with TUN/TAP driver every thing is going OK, when i run the commends , just in the last commend when i reboot my laptop i choose grub to enter on new kernel , but when i choose it , i got black screen .so please help me to solve this problem , for more information about my laptop , i have just one partition my root is (hd1,1). my ram is 2G, speed 2GHZ, i use Linux-2.6.27.42, but the new one is the last kernel available in website. i am in rush please inform me as soon as possible,

View 10 Replies View Related

General :: Compile The CppUnit In RTEMS?

Jun 7, 2011

I am trying to compile cppunit in rtems. However, I keep getting this error when I run the make file. (as seen in red) The actual thing is way longer, but I just wanted to give a general idea of the make files. I believe that it may have something to do with libstdc++. Somewhere it is pulling that in and I am actually using g++.

/builddir/build/BUILD/rtems-4.10-i386-rtems4.10-gcc-4.4.6/build/i386-rtems4.10/l
ibstdc++-v3/include/fstream:826: undefined reference to `memmove'
/builddir/build/BUILD/rtems-4.10-i386-rtems4.10-gcc-4.4.6/build/i386-rtems4.10/l
ibstdc++-v3/include/fstream:826: undefined reference to `memmove'

[code]....

View 2 Replies View Related

General :: Cross Compile In 64 Bit Machine For 32 Bit Arm?

Nov 18, 2010

i have fedora 11(64 bit).i want to do the cross compilation for 32 bit arm processor.i install all required thing but any of the make command(make,make mrproper,defconfig) is not working.

View 8 Replies View Related

General :: Compile A C Code Which Uses SSH Library?

Jan 26, 2011

i try to compile a c code which uses SSH library,but i get this error

Code:
libssh.h: No such file or directory

i searched and i found that This happens if a library used for linking is not present in the standard library directories used by gcc.

By default, gcc searches the following directories for header files:

/usr/local/include/
/usr/include/

and the following directories for libraries:

/usr/local/lib/
/usr/lib/

i update my libssh from libssh-0.4.2-1.fc13.i686 to libssh-0.4.6-1.fc13.i686, and there are files called libssh.so.4 and libssh.so.4.0.2 in /ur/lib, but i still can't compile it with this command:

gcc test.c

View 3 Replies View Related

General :: Compile Own Application Using Busy Box?

Nov 18, 2010

how compile our own application using busy box

View 4 Replies View Related

General :: How To Compile A Kernel In Fedora

Jul 6, 2010

i have downloaded .src.rpm file from net.i dont know how to compile that.can u tell me the basics of linux kernel compilation.how to compile a kernel. how to install or modify the existing running kernel with tat. etcI am using fedora 12 it has 2.6.31.5-127.fc12.i686.PAE

View 5 Replies View Related

General :: Compile C++ Class In System?

May 25, 2010

I am new in c++ progreming .
i have written lot of classes and main class of c++ in one file and compile successfully but now i have written all classes in different and main class in different file like this.code...

now how to compile and run these classes

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved