|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Programming/Scripting Questions about programming, bash scripts, perl, php, cron jobs, ruby, python, etc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi all,
I must say first of all I am completely new to Linux and Open Suse, I installed an 11.1 distro so as I could work at programming ATmel and PIC microchips. Iam trying to build/compile/install? some software packages namely gputils and Cross-AVR. So far I have managed to follow the instructions to download the package and extract it to a folder ok. Next in the terminal I change directory and enter the command ./configure as per the instructions. A lot of text goes by and finishes with gputils-0.13.7 is now configured for Build: i686-pc-linux-gnu Host: i686-pc-linux-gnu Source directory: . Installation prefix: /usr/local C compiler: gcc -g -O2 The next instruction says type make When I do that it says ralph@linux-poqo:~/gputils-0.13.7> make bash: make: command not found typing make install doesn't work either. What am I doing wrong or what have I left out? Thanks for any help. Ralph |
|
||||
|
Quote:
You need to install the program called make either via YaST or from the command line; Code:
sudo zypper in make http://software.opensuse.org/search? However, there isn't a build for 11.1 or the latest version. You could download a src rpm, then build with; Code:
rpmbuild --rebuild gputils-0.13.6-8.4.src.rpm sudo rpm -Uhv /usr/src/packages/RPMS/i586/gputils-0.13.6-8.4.i586.rpm Cheers Malcolm °¿° (Linux Counter #276890) SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default up 13 days 21:12, 3 users, load average: 0.27, 0.24, 0.35 GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18 |
|
|||
|
Thanks Malcolm,
well I got a little bit further that time. I done the zypper make bit first and that worked. I had another go at building gputils. Firstly I typed ./configure - ok next I typed make and it done it's bit ok. Then I typed make install and it returned this test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin" /usr/bin/install -c 'gpasm' '/usr/local/bin/gpasm' /usr/bin/install: cannot create regular file `/usr/local/bin/gpasm': Permissiondenied make[2]: *** [install-binPROGRAMS] Error 1 make[2]: Leaving directory `/home/ralph/gputils-0.13.7/gpasm' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/ralph/gputils-0.13.7/gpasm' make: *** [install-recursive] Error 1 ralph@linux-poqo:~/gputils-0.13.7> I will try your second approach shortly and see if that works. Ralph |
|
|||
|
On Fri, 23 Oct 2009 16:06:01 +0000, 2i0rpm wrote:
> Permissiondenied You ran "make install" as your regular user, most likely, and that login doesn't have rights to write to the path /usr/local/bin/ - try: sudo make install After make has completed. That will run the command as root. Jim -- Jim Henderson openSUSE Forums Moderator |
|
|||
|
Thanks Jim
That worked this time. Everythings installed into the usr/local/bin folder. I'll remember that for next time. Thanks Ralph |
|
|||
|
On Fri, 23 Oct 2009 16:36:01 +0000, 2i0rpm wrote:
> Thanks Jim > > That worked this time. Everythings installed into the usr/local/bin > folder. > > I'll remember that for next time. No problem, glad to help out - when you're just learning about building software, it can seem very daunting. :-) Jim -- Jim Henderson openSUSE Forums Moderator |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|