Results 1 to 9 of 9

Thread: Installing from Source

  1. #1

    Default Installing from Source

    Hey guys.. I've been using linux for about a month now and this is my first attempt at compiling and installing from source..

    upon my surprise OpenSuse 11 Did not install a compiler or anything when i upgraded to it.. what do i need besides gcc in order to compile and make programs.. i can compile ok.. but it never makes a makefile and when i run the make command it says there is no such command.. even if i'm logged in as a su

  2. #2

    Default Re: Installing from Source

    zypper in -t pattern devel_basis

    Or you can select the basic development pattern from YaST software management module.

  3. #3

    Default Re: Installing from Source

    I already have it installed.. so help me out here.. I find the configure script run it with

    ./configure

    then i identify to root

    then it's make

    then make install? right? what else could i be missing besides gcc and zyper

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,832
    Blog Entries
    15

    Default Re: Installing from Source

    On Thu, 26 Jun 2008 01:26:04 GMT
    jasonsand <jasonsand@no-mx.forums.opensuse.org> wrote:

    >
    > I already have it installed.. so help me out here.. I find the
    > configure script run it with
    >
    > /configure
    >
    > then i identify to root
    >
    > then it's make
    >
    > then make install? right? what else could i be missing besides gcc and
    > zyper
    >
    >

    Hi
    So what is the source your are trying to compile and what is the error?

    --
    Cheers Malcolm (Linux Counter #276890)
    SLED 10.0 SP2 x86_64 Kernel 2.6.16.60-0.23-smp
    up 14 days 22:03, 0 users, load average: 0.98, 0.92, 0.75
    GPU GeForce 8600 GTS Silent - Driver Version: 173.14.09


  5. #5

    Default Re: Installing from Source

    I tried a couple of different ones.. but the same it never worked.. i check out the ./configure logs and it gives me no errors.. i tried a few of the same sources out today on my computer at school.. which i setup to dual boot xp and fedora 9... and it worked fine.. I have to be missing something on my system but i don't know what. I'm on xp right now. I'll log back into suse in a minute and i'll run the configure again and past what it says here so maybe someone can help me out

  6. #6

    Default Re: Installing from Source

    This is what happened when i ran the configure script of mplayer...
    jason@laptop:~/MPlayer-1.0rc2> ./configure
    Detected operating system: Linux
    Detected host architecture: i386
    Checking for cc version ... 4.3, ok
    Checking for host cc ... cc
    Checking for cross compilation ... no
    Checking for CPU vendor ... GenuineIntel (6:15:13)
    Checking for CPU type ... Intel(R) Core(TM)2 Duo CPU T5450 @ 1.66GHz
    Checking for kernel support of mmx ... yes
    Checking for kernel support of mmxext ... yes
    Checking for kernel support of sse ... yes
    Checking for kernel support of sse2 ... yes
    Checking for kernel support of ssse3 ... yes
    Checking for kernel support of cmov ... yes
    Checking for mtrr support ... yes
    Checking for GCC & CPU optimization abilities ... native
    Checking for assembler support of -pipe option ... yes
    Checking for compiler support of named assembler arguments ... yes
    Checking for assembler (/usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-l
    inux/bin/as ) ... ok
    Checking for .align is a power of two ... no
    Checking for Linux kernel version ... 2.6.25.5-1.1-pae, ok
    Checking for -lposix ... no
    Checking for -lm ... yes
    Checking for langinfo ... yes
    Checking for language ... using en (man pages: en )
    Checking for enable sighandler ... yes
    Checking for runtime cpudetection ... no
    Checking for restrict keyword ... __restrict
    Checking for __builtin_expect ... yes
    Checking for kstat ... no
    Checking for posix4 ... no
    Checking for lrintf ... yes
    Checking for mkstemp ... yes
    Checking for nanosleep ... yes
    Checking for socklib ... yes
    Checking for inet_pton() ... yes (using )
    Checking for network ... yes
    Checking for inttypes.h (required) ... yes
    Checking for int_fastXY_t in inttypes.h ... yes
    Checking for word size ... 32
    Checking for malloc.h ... yes
    Checking for memalign() ... yes
    Checking for alloca.h ... yes
    Checking for mman.h ... yes
    Checking for dynamic loader ... yes
    Checking for dynamic a/v plugins support ... no
    Checking for pthread ... yes (using -lpthread)
    Checking for w32threads ... no (using pthread instead)
    Checking for rpath ... no
    Checking for iconv ... yes
    Checking for soundcard.h ... yes (sys/soundcard.h)
    Checking for sys/dvdio.h ... no
    Checking for sys/cdio.h ... no
    Checking for linux/cdrom.h ... yes
    Checking for dvd.h ... no
    Checking for termcap ... no
    Checking for termios ... yes (sys/termios.h)
    Checking for shm ... yes
    Checking for strsep() ... yes
    Checking for vsscanf() ... yes
    Checking for swab() ... yes
    Checking for POSIX select() ... yes
    Checking for gettimeofday() ... yes
    Checking for glob() ... yes
    Checking for setenv() ... yes
    Checking for sys/sysinfo.h ... yes
    Checking for pkg-config ... yes
    Checking for Samba support (libsmbclient) ... no
    Checking for tdfxfb ... no
    Checking for s3fb ... no
    Checking for tdfxvid ... no
    Checking for xvr100 ... no
    Checking for tga ... yes
    Checking for md5sum support ... yes
    Checking for bl ... no
    Checking for DirectFB ... no
    Checking for X11 headers presence ... no (check if the dev(el) packages are inst
    alled)
    Checking for X11 ... no (check if the dev(el) packages are installed)
    Checking for DPMS ... no
    Checking for Xv ... no
    Checking for XvMC ... no
    Checking for Xinerama ... no
    Checking for Xxf86vm ... no
    Checking for XF86keysym ... no
    Checking for DGA ... no
    Checking for 3dfx ... no
    Checking for OpenGL ... no
    Checking for VIDIX ... yes (internal)
    Checking for /dev/mga_vid ... no
    Checking for xmga ... no
    Checking for GGI ... no
    Checking for GGI extension: libggiwmh ... no
    Checking for AA ... no
    Checking for CACA ... no
    Checking for SVGAlib ... no
    Checking for FBDev ... yes
    Checking for DVB ... no
    Checking for DVB HEAD ... yes
    Checking for zr ... no
    Checking for PNG support ... no
    Checking for JPEG support ... no
    Checking for PNM support ... yes
    Checking for GIF support ... no
    Checking for VESA support ... no
    Checking for SDL ... no
    Checking for NAS ... no
    Checking for DXR2 ... no
    Checking for DXR3/H+ ... no
    Checking for IVTV TV-Out ... no
    Checking for V4L2 MPEG Decoder ... yes
    Checking for OSS Audio ... yes
    Checking for aRts ... no
    Checking for EsounD ... no
    Checking for Polyp ... no
    Checking for JACK ... no
    Checking for OpenAL ... no
    Checking for ALSA audio ... no
    Checking for Sun audio ... no
    Checking for VCD support ... yes
    Checking for dvdread ... yes (internal)
    Checking for internal libdvdcss ... yes
    Checking for cdparanoia ... yes
    Checking for libcdio ... auto (using cdparanoia)
    Checking for bitmap font support ... yes
    Checking for freetype >= 2.0.9 ... no
    Checking for fontconfig ... no (freetype support needed)
    Checking for SSA/ASS support ... no (FreeType support needed)
    Checking for fribidi with charsets ... no
    Checking for ENCA ... no
    Checking for zlib ... no
    Checking for RTC ... yes
    Checking for liblzo2 support ... no
    Checking for mad support ... no
    Checking for Twolame ... no
    Checking for Toolame ... no
    Checking for OggVorbis support ... yes (internal Tremor)
    Checking for libspeex (version >= 1.1 required) ... no
    Checking for OggTheora support ... no
    Checking for internal mp3lib support ... yes
    Checking for internal liba52 support ... yes
    Checking for libdca support ... no
    Checking for internal libmpeg2 support ... yes
    Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
    Checking for FAAC (AAC encoder) support ... no (in libavcodec: )
    Checking for FAAD2 (AAC) support ... yes (internal floating-point)
    Checking for LADSPA plugin support ... no
    Checking for Win32 codecs ... yes (using /usr/lib/win32)
    Checking for XAnim codecs ... yes (using /usr/lib/win32)
    Checking for RealPlayer codecs ... yes (using /usr/lib/win32)
    Checking for QuickTime codecs ... yes
    Checking for Nemesi Streaming Media libraries ... no
    Checking for LIVE555 Streaming Media libraries ... no
    Checking for FFmpeg libavutil ... yes (static)
    Checking for FFmpeg libavcodec ... yes (static)
    Checking for FFmpeg libavformat ... yes (static)
    Checking for FFmpeg libpostproc ... yes (static)
    Checking for libamr narrowband ... no
    Checking for libamr wideband ... no
    Checking for libdv-0.9.5+ ... no
    Checking for XviD ... no
    Checking for x264 ... no (in libavcodec: no)
    Checking for libnut ... no
    Checking for libmp3lame (for mencoder) ... no
    Checking for mencoder ... yes
    Checking for fastmemcpy ... yes
    Checking for UniquE RAR File Library ... yes
    Checking for TV interface ... yes
    Checking for Video 4 Linux TV interface ... yes
    Checking for Video 4 Linux 2 TV interface ... yes
    Checking for TV teletext interface ... no
    Checking for Radio interface ... no
    Checking for Capture for Radio interface ... no
    Checking for Video 4 Linux 2 Radio interface ... no
    Checking for Video 4 Linux Radio interface ... no
    Checking for Video 4 Linux 2 MPEG PVR interface ... yes
    Checking for audio select() ... yes
    Checking for ftp ... yes
    Checking for vstream client ... no
    Checking for byte order ... little-endian
    Checking for OSD menu ... no
    Checking for Subtitles sorting ... yes
    Checking for XMMS inputplugin support ... no
    Checking for inet6 ... yes
    Checking for gethostbyname2 ... yes
    Checking for GUI ... no
    Checking for automatic gdb attach ... no
    Checking for compiler support for noexecstack ... yes
    Checking for joystick ... no
    Checking for lirc ... no
    Checking for lircc ... no
    Checking for color console output ... no
    Checking for DVD support (libdvdnav) ... no
    Creating config.mak
    Creating config.h

    Config files successfully generated by ./configure !

    Install prefix: /usr/local
    Data directory: /usr/local/share/mplayer
    Config direct.: /usr/local/etc/mplayer

    Byte order: little-endian
    Optimizing for: native

    Languages:
    Messages/GUI: en
    Manual pages: en

    Enabled optional drivers:
    Input: ftp pvr tv-v4l2 tv-v4l tv cddb cdda libdvdcss(internal) dvdread(inter
    nal) vcd dvb network
    Codecs: libavcodec qtx real xanim win32 faad2 libmpeg2 liba52 mp3lib tremor(
    internal)
    Audio output: oss v4l2 mpegpes(dvb)
    Video output: v4l2 pnm mpegpes(dvb) fbdev cvidix md5sum tga
    Audio filters:
    Disabled optional drivers:
    Input: dvdnav vstream radio tv-teletext live555 nemesi smb
    Codecs: x264 xvid libdv libamr_wb libamr_nb faac musepack libdca libtheora s
    peex toolame twolame libmad liblzo gif
    Audio output: sun alsa openal jack polyp esd arts ivtv dxr2 nas sdl
    Video output: ivtv dxr3 dxr2 sdl vesa gif89a jpeg png zr zr2 svga caca aa gg
    i xmga mga xvidix winvidix opengl 3dfx dga xvmc xv x11 dfbmga directfb bl xvr100
    tdfx_vid s3fb tdfxfb
    Audio filters: ladspa

    'config.h' and 'config.mak' contain your configuration options.
    Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
    compile *** DO NOT REPORT BUGS if you tweak these files ***

    'make' will now compile MPlayer and 'make install' will install it.
    Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.

    Please check mtrr settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr)

    Check configure.log if you wonder why an autodetection failed (make sure
    development headers/packages are installed).

    NOTE: The --enable-* parameters unconditionally force options on, completely
    skipping autodetection. This behavior is unlike what you may be used to from
    autoconf-based configure scripts that can decide to override you. This greater
    level of control comes at a price. You may have to provide the correct compiler
    and linker flags yourself.
    If you used one of these options (except --enable-gui and similar ones that
    turn on internal features) and experience a compilation or linking failure,
    make sure you have passed the necessary compiler/linker flags to configure.

    If you suspect a bug, please read DOCS/HTML/en/bugreports.html.

    jason@laptop:~/MPlayer-1.0rc2> make
    bash: make: command not found

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,832
    Blog Entries
    15

    Default Re: Installing from Source

    On Thu, 26 Jun 2008 02:06:04 GMT
    jasonsand <jasonsand@no-mx.forums.opensuse.org> wrote:

    >
    > This is what happened when i ran the configure script of mplayer...
    > jason@laptop:~/MPlayer-1.0rc2> ./configure

    <snip>
    > Checking for X11 headers presence ... no (check if the dev(el)
    > packages are inst
    > alled)
    > Checking for X11 ... no (check if the dev(el) packages are installed)
    > Checking for PNG support ... no
    > Checking for JPEG support ... no
    > Checking for PNM support ... yes
    > Checking for GIF support ... no
    > Checking for VESA support ... no
    > Checking for SDL ... no
    > Checking for NAS ... no
    > Checking for DXR2 ... no
    > Checking for DXR3/H+ ... no
    > Checking for IVTV TV-Out ... no
    > Checking for V4L2 MPEG Decoder ... yes
    > Checking for OSS Audio ... yes
    > Checking for freetype >= 2.0.9 ... no
    > Checking for fontconfig ... no (freetype support needed)
    > Checking for SSA/ASS support ... no (FreeType support needed)
    > Checking for libspeex (version >= 1.1 required) ... no
    > Checking for OggTheora support ... no
    > Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
    > Checking for FAAC (AAC encoder) support ... no (in libavcodec: )
    > Checking for XviD ... no
    > Checking for x264 ... no (in libavcodec: no)
    > Checking for libnut ... no
    > Checking for libmp3lame (for mencoder) ... no
    > Checking for OSD menu ... no
    > Checking for Subtitles sorting ... yes
    > Checking for XMMS inputplugin support ... no

    Hi
    Aside from the make issue, you may want to look at installing the devel
    versions of some of the above ;-)

    malcolml@artigo:~> which make
    /usr/bin/make
    malcolml@artigo:~> echo $PATH
    /home/malcolml/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr /games:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/NX/bin:/usr/sbin
    malcolml@artigo:~>

    I wonder if it's a path issue, how does your echo $PATH look? Also you
    only need to be root to do the make install.

    --
    Cheers Malcolm (Linux Counter #276890)
    SLED 10.0 SP2 x86_64 Kernel 2.6.16.60-0.23-smp
    up 14 days 22:55, 0 users, load average: 0.03, 0.11, 0.22
    GPU GeForce 8600 GTS Silent - Driver Version: 173.14.09


  8. #8

    Default Re: Installing from Source

    I didn't have make installed on my computer.. i installed it and now everything is fine.. i wonder why suse didn't install all that stuff to begin with.

    Thanks for the help, that's what happens when you're a linux newbie.. but hey atleast i'm catching on pretty fast. One of my certificates i'm gonna test for is linux and i just wanted to start to get a grip on it before i actually hit it.. but i have to say i'm suprised with it and i truly enjoy it

  9. #9

    Default Re: Installing from Source

    Quote Originally Posted by jasonsand View Post
    i wonder why suse didn't install all that stuff to begin with.
    Because it is supposed that a normal user will never have the need of compile anything.
    But make is on devel_basis pattern:
    Code:
    $ zypper info -t pattern devel_basis | grep make
    i | automake          | package |
    i | make              | package |

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •