Make and dmake included with Solaris 10/Studio 11

Subject: make and dmake included with Solaris 10/Studio 11
I've been working on a project where I'm converting makefiles that were originally developed for GNU make to utilize dmake.
The one issue I've been having is that one dynamic macro "$<" (insert dependency) doesn't seem to work as documented in the make man page either with dmake and make (in /usr/ccs/bin, or /usr/xpg4/bin). Here's a small snippet of what I'm trying to figure out:
#### Targets
oraSQL.c: oraSQL.pc
$(ORACLE_HOME)/bin/proc iname=$< dbms=v8 HOLD_CURSOR=NO RELEASE_CURSOR=YES ireclen=132 oreclen=132 select_error=no lines=yes sqlcheck=semantics xref=yes CODE=CPP ORACA=YES MODE=ORACLE MAXOPENCURSORS=50 userid=$(CONNSTR) When make executes this, it should replace the "$<" with "oraSQL.pc". This does work with GNU make. Now, I know that Solaris make and GNU make are definitely not the same; the manpage for Solaris make at the section titled "Dynamic Macros", clearly states that the same behavior should exist. Unfortunately with Solaris make, the macro is simply replaced with nothing.
Am I being a blockhead, or is there more too this that someone here might know about?
Thanks in advance;

First of all, this is a well known problem. It is not a bug, but a
difference in behavior between Sun "make" and GNU "make".
The behavior of Sun "make" is documented in man page,
and we cannot change the default behavior because this will
break the existing builds.
Here is how it is documented in make.1 man page:
$< The name of a dependency file, derived as if
selected for use with an implicit rule.
Second, this problem has been reported several times (see CR
6593262 for example) , and we addressed it - we provided
environment variable to specify the compatibility mode.
SUN_MAKE_COMPAT_MODE=GNU
- compatibility with GNU "make"
Compatibility with GNU "make" is partially implemented, and
will be improved in next releases.
Here is an example how to set SUN_MAKE_COMPAT_MODE
to avoid the problem, mentioned in CR 6593262:
1. This is what happens if SUN_MAKE_COMPAT_MODE is not set.
% unsetenv SUN_MAKE_COMPAT_MODE
% cat Makefile
## -- Makefile --
ECHO=/usr/bin/echo
all: this
that:
$(ECHO) "soccer"
this: that
$(ECHO) $<
% dmake -m parallel this
/usr/bin/echo "soccer"
soccer
/usr/bin/echo
2. Here is what happens if SUN_MAKE_COMPAT_MODE=GNU
% setenv SUN_MAKE_COMPAT_MODE GNU
% env | grep SUN_MAKE_COMPAT_MODE
SUN_MAKE_COMPAT_MODE=GNU
% dmake -m parallel this
/usr/bin/echo "soccer"
soccer
/usr/bin/echo that
that
So, in this case the output is identical to GNU make, correct?
Please, try to set the environment variable:
SUN_MAKE_COMPAT_MODE=GNU
and restart your build.
Thanks,
Nik

Similar Messages

  • Manuals Included with Final Cut Studio

    How many physical manuals are included with Final Cut Studio? I heard there were 4 for Final Cut Pro and 1 for Color. What about the other programs (Compressor, Motion, Soundtrack, DVD Studio)?

    hey there bgecawich & welcome to Discussions,
    there are 4 volumes for FCS2 User Manual:
    1-Interface, Set-up & Input
    2-Editing
    3-Audio Mixing & Effects
    4-Media Management & Output
    there is a separate User Manual for Color.
    good luck.

  • HT201304 make and Apple ID with out payment method

    How to make and Apple ID with out payment method in iTunes 10 or superior?

    I made this video to help you: http://www.youtube.com/watch?v=DySX3DEryZ8&feature=plcp

  • Webdb included with Solaris release 2 install?

    I have installed Forms Server 6i for Solaris before and the WebDb listener has always been installed as well. However, I just installed release 2 and none of the WebDb prompts showed during the install and WebDb was not installed. Is this no longer included?
    If I try to download webdb for Solaris separately then only Portal 3 (at over 1GB in size) is available rather than webdb.

    Following up..
    I can find the original 6isolaris.tar under reports but not forms. Downloading this first release I find the www21 directory on the install which is missing on release 2. Again, the first release doesn't even show on the technet download for forms, just reports.
    I will install forms/reports with the first release and perhaps update with release 2.

  • Is Quicktime Pro included with Final Cut Studio?

    Wikipedia's article on Quicktime Pro says that a Quicktime Pro license comes with Final Cut Studio. Is that true?
    I have OS X 10.5.8 and FCS 2, but I can't even tell if I have Quicktime Pro. I see Quicktime Player in my applications folder (version 7.6.6), but I don't see Quicktime Pro.
    Is Wikipedia right that I got a QT Pro license with FCS? If so, how do I activate it?
    If not, do I just purchase the upgrade from the Apple Store? How do I install/activate the upgrade it?
    Thanks

    I'd like to re-open this topic. I'm not sure that I have QT Pro either. I recently upgraded the OS to 10.6.4--which included a new QT Player [10.0 (114)]. None of the pro features are there--or the old preferences (or the QT System Prefs). I don't use QT Pro features much, and it's only been about a month since the upgrade, so I didn't notice until now. I used to have it. Did I miss something?
    FCP 6.0.6

  • How different when i5 and i7 work with Final Cut Studio?

    27-inch models only, one of the following:
    2.66GHz quad-core Intel Core i5 processor with 8MB shared L3 cache; Turbo Boost dynamic performance up to 3.2GHz
    2.8GHz quad-core Intel Core i7 processor with 8MB shared L3 cache; Turbo Boost dynamic performance up to 3.46GHz; Hyper-Threading for up to eight virtual cores
    May I get the "up to 2.3x faster performance with Final Cut Studio" with i5?
    Thanks advanced.

    It looks very convincing to pay more for i7. Thanks a lot.
    I agree, and also get 8G or more of RAM like Switch900 suggests. You can save money on that by buying it from a third-party vendor.
    Check out the new remodeled MacOSG website! 24-hour Apple-related news & support.
     MacOSG: An Apple User Group  iTunes: MacOSG Podcast  Follow us on Twitter: MacOSG

  • Emacs and emacs -nw with solarized look different

    Hey,
    I installed solarized for emacs and in my .Xdefaults (https://github.com/solarized/xresources/blob/master/solarized from here).
    Emacs looks fine, but everything in my urxvt looks slightly off, compared to emacs.
    Here is a screen shot between emacs -nw and emacs side by side:
    http://p67.img-up.net/screenshot8025.png
    The colors are kind of switched. Is there something wrong with the color scheme in my xresources?
    Or do I have to to something additional to get the solarized look right in emacs -nw and urxvt?
    Thanks!
    EDIT:
    setting:URxvt*termName: rxvt-unicode-256color
    change the look of emacs -nw, but now it looks even more wrong.
    Other console programms look better now.
    Last edited by schlicht (2013-08-27 15:09:27)

    Ok I've installed everything and put the following into the .emacs file:
    (require 'org-install)
    ;; The following lines are always needed. Choose your own keys.
    (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
    (global-set-key "\C-cl" 'org-store-link)
    (global-set-key "\C-ca" 'org-agenda)
    (global-set-key "\C-cb" 'org-iswitchb)
    (global-font-lock-mode 1)
    ; for all buffers
    ;;;orgbabel;;;;
    (org-babel-do-load-languages
    'org-babel-load-languages
    '((R . t)
    The last part being the bit about babel - the business end for R. Now I don't need to install anything else? Or any other lisp's for babel? But! The .emacs file is not producing any errors now when I start emacs up.
    [EDIT] Everything work's now I've installed an external - more up to date distribution of Org!
    Last edited by Ben9250 (2010-10-26 19:53:54)

  • Webcast Archive and Test Questions with DVD Pro Studio

    Is there a way to put a web archive of a Mediasite (by Sonic Foundry) webcast into a DVD that can be played on a TV through a traditional DVD player? I know you can link a site to pull up in a web browser when you use the DVD in a computer, but I was wondering if you could embed the archive file they give us on a CD into the DVD menu.
    Additionally is there a way that you can make a series of questions for a training test into the DVD menu, so the student can select answers and then see which ones they scored right and which they scored wrong?
    Thank you,
    RAY PEARSON

    Ray - the only way you can get this stuff showing on your DVD is to re-create it using video tools like FCP, or convert the footage that you have got to be MPEG2 and then sue it in DVDSP.
    The answers you already have here are pointing you this way - you can do lots of things, but some stuff just isn't possible.
    For the playback of the CD content, you might consider using a tool like Snapz Pro to record your computer screen (or rather, and area of it) whilst you use the CD and navigate the contents. The output from Snapz can be saved as DV footage with audio, and of course this can then be converted to go onto a DVD.
    I think there are ways ahead for you, but it isn't straightforward!

  • IMPORTING FOOTAGE INTO FCE AND MERGING FILES WITH FINAL CUT STUDIO

    So I recently purchased Final Cut Express to create off-line, rough cut projects...to be completed by more qualified editors other than myself. But I want to make sure that Final Cut Express is the right system for me.
    Here are my questions:
    1.) I will be using a variety of video formats for this system, and will be ingesting primarily through a shared media drive. Should I be concerned by the fact that it says I can only use "HDV, AVCHD, and DV" for simultaneous edit? What if I originate my material on Beta or DVCPro and want to import using firewire?
    2.) Will my timelines be compatible to other (higher-end) Final Cut programs?
    Any help is greatly appreciated!
    Thanks,
    Chip

    Welcome to the forum!
    1.) If the video you plan to use is not HDV, DV, or AVCHD then it will not be able to be ingested by FCE. The best way to get your media into FCE would be to capture it, but if it originates somewhere else you can still import it into FCE provided it is one of the formats cited above. If your media is not one of these three, you will have to use a convertor to make it "readable" by FCE. If you want to keep the full resolution of another format, you are better off directly going to Final Cut Pro, as it can handle these formats.
    2.) Final Cut Pro will be able to open your Final Cut Express timelines, but you will not be able to go back the other way around. So only let your editors open the project in FCPro once you are done using it in FCE.
    If you are planning to shoot professional videos, FCE transcodes into Apple Intermediate Codec, usually giving you lower quality then if you were to ingest the media in FCPro, which uses ProRes for higher quality yet larger file sizes. If you are not worried about the mentioned drawbacks to using FCE as a first-cut before FCP, then you should be fine.
    -skalicki

  • Has anyone had a problem using Mainstage 2 and Logic 9 with PreSonus fire studio Mobile?

    I Still can't get Mainstage and Logic to play well with my setup. I'm using a Mac Pro 2 GHz Intel Core i7 with 4 GB ram and Logic 9.1.6 and Mainstage2. I have a PreSonus Firestudio Mobile and M-Audio Midisport midi interfaces. The only Midisport that works consistently is a MisiSport 2X2 sith a thru/merge switch set to merge. I am playing all of this with a Roland A-90 keyboard. Logic sometimes starts, but the audio interface doesn't work. Mainstage crashes on start-up. Can anyone help?
    Thanks,
    Bob

    Hi
    There have been several reported issues on this forum about problems a) with Roland controllers (Sending MIDI Clock and 'All Notes Off' ???), and b) MIDSport interfaces
    https://discussions.apple.com/message/17138809#17138809
    https://discussions.apple.com/message/17011191#17011191
    I suggest that you try a 'scientific' process of elimination:
    Disconnect all external hardware, and try MS
    Connect the hardware singly, one at a time, to determine which is causing the problem
    CCT

  • Mighty Mouse and Wireless Keyboard with Final Cut Studio

    Hello,
    I'm looking into picking up the Mighty Mouse and the Wireless Keyboard, but I've noticed that the keyboard has some set backs.
    It's missing the right side. This bothers me because I use the arrows very frequently to navigate through my timeline - they're very helpful for several reasons. Will I be able to assign keys on my wireless keyboard to do the same actions as these arrows.
    Please let me know if any out there has any input at all. Also, let me know if there is anything else that I may be missing before I commit a consumer error.
    Thank you,
    Trey Vollmer

    treyvon wrote:
    I'm looking into picking up the Mighty Mouse and the Wireless Keyboard, but I've noticed that the keyboard has some set backs.
    It's missing the right side. This bothers me because I use the arrows very frequently to navigate through my timeline - they're very helpful for several reasons. Will I be able to assign keys on my wireless keyboard to do the same actions as these arrows.
    If you're talking about the Aluminum (super-thin) wireless keyboard, it certainly has arrow keys.
    What's missing is the numeric keypad and the home, end, page up/down buttons.
    The numeric keypad is a kind of a big deal for those of us who make use of the number pad key shortcuts to disable/enable AutoSelect (Command-Numeric Zero toggles all Video Tracks, Option-Numeric Zero toggles all Audio Tracks). OK, so that describes maybe 15 people out of the millions of users. But, thankfully, you can use Button Bars to replace those functions.
    The numeric keypad is also important if you use the Multicam keyboard layout, but that can be replaced by Button Bars.
    Don't like the mouse and keyboard that you have now?
    Message was edited by hanumang

  • How do I make and get calls with my US Phone in another country?

    Do I just dial the local number or do I have to dial international stuff?
    Same question for getting calls from the US. How to people there call me?
    Sorry if this is a dumb question.......
    Oh the place in Asia is on the countries list for the Iphone.

    http://www.wireless.att.com/learn/international/roaming/affordable-world-package s.jsp
    You would be roaming. International roaming is very expensive and must be activated by AT&T.
    You can sign up for international packages that lower the cost substantially. When you call or others call you, the country code would need to be added to the phone number.
    http://www.wireless.att.com/learn/international/roaming/affordable-world-package s.jsp

  • What are the new instruments and loops included with 7.2?

    Subject says it all.
    Thanks

    •New instruments: Radio Sounds, Nature Sounds, Comedy Noises, Applause and Laugher.
    •New loops: 520 loops in iLife Sound Effects folder.
    I may be wrong! I haven't installed 7.2 yet.

  • Is their a way to make and receive calls to USA and Canada and iphone with a Google account that has an American phone Registered to it?

    Hi, I have and iPhone 4s running ios 8.0.2. I live in the middle east and would like to make and receive phone calls to people living in USA and Canada from my iphone. I have a Google account with an American number registered in it, but unfortunately it seems that I can only send messages and voice mail with my google voice account to USA and Canada because I live in the Middle East. I asked a similar question on another website and one person said that I could get what I want by using a VoIP/PBX account from pxbes.com and use this account with an application called "Acrobits softphone" from the App Store. Also he said that that I can use google chat to get my calls into the PBX account but he didn't say how and i don't know how. Does anyone know how this thing works or any other way to make and receive calls with America and Canada by using my google voice account. I don't care if it costs money as long as people can get in touch with me by using my American phone number.

    I have exactly the same concern. It seems it would be a simple fix for Apple to allow users to turn off the camera (and even the mic) while keeping FaceTime open -- especially now that it turns out FaceTime must remain open in order to send and receive iPhone calls on a Mac.
    I like to think this new functionality of FaceTime will be baked into a future release of Yosemite, as the current setup has that not-quite-finished feel of a work in progress. In the meantime, there's nothing like a little piece of Post-It stuck over the camera to keep the NSA from watching your face as you type a post to the Apple Support Communities.

  • Which codec to use for editing AND motion graphics (ala Final Cut Studio)?

    I have a prosumer-level AVCHD camcorder (Panasonic HDC-TM700) and am working with Final Cut Studio. After doing a great deal of research it appears that there is NO real benefit to using any codec other than ProRes 422 for straight editing (a camera at this price point doesn't shoot images of a high enough quality to warrant using 422 HQ, which also requires more processor power, and not only does 4444 require rendering it also takes up a ton of space). However, I have read (many times) that there may be some benefit to using 422 HQ if I am doing motion graphics work (ala Motion 4). Can anyone verify this? Would it make any discernible difference when shooting with a camera like this? Even though it is a prosumer camcorder I am trying to squeeze as much value as I can out of the entire production.
    Any input or advice?
    Thanks!

    Please don't double post.
    http://discussions.apple.com/thread.jspa?messageID=13122088#13122088
    x

Maybe you are looking for