Menu

#13 plugins-1.2.9-1 doesn't compile on SunOS

open
nobody
None
5
2001-02-01
2001-02-01
Anonymous
No

Discussion

  • Nobody/Anonymous

    Logged In: NO
    Browser: Mozilla/4.7 [en] (WinNT; I)

    The plugins-1.2.9-1 doesn't compile under SunOS 4.1.3. There are two issues:

    1) configure can't find an acceptible ps command (its actually "ps -laxnwww") or an
    acceptible df command (its actually "df"). I think the ps error is because the
    return string configure is looking for (the headers from ps) are incorrect. I just
    manually editted config.status to put in the appropriate values.

    2) there isn't a "snprintf" function in SunOS and the (commented out) version supplied
    in plugins/common.h fails to compile. I just ripped the snprintf function out of the
    LRPng code base and linked using its snprintf.o.

    --
    Think Peace.
    - Alan

     
  • Nobody/Anonymous

    Logged In: YES
    user_id=1671
    Browser: Mozilla/4.76 [en] (X11; U; Linux 2.4.0-0.26 i586)

    If the problem with 'ps' is the headers are different, I
    cannot fix unless I know what the headers should be. Can
    anyone provide that information?

     
  • Nobody/Anonymous

    Logged In: NO
    Browser: Mozilla/4.73 [en] (X11; U; SunOS 5.6 sun4m)

    The headers for ps -laxnwww are:

    F UID PID PPID CP PRI NI SZ RSS WCHAN STAT TT
    TIME COMMAND

     
  • Nobody/Anonymous

    Logged In: YES
    user_id=1671
    Browser: Mozilla/4.76 [en] (X11; U; Linux 2.2.16-3 i586)

    I made changes to configure.in and added source for snprintf

    With any luck, 1.2.9-2 will work for you out of the box. Or
    try the r129 branch of the CVS tree

     
  • Nobody/Anonymous

    Logged In: NO
    Browser: Mozilla/4.7 [en] (WinNT; I)

    Thanks. I pulled down the latest changes from the CVS tree just this afternoon
    and will try a recompile tonight.

    BTW, if you do need any tests done on a SunOS box, just let me know and
    I can run them. Always good to see old OSes getting supported in recent
    software releases.

    -- Think Peace.
    - Alan

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.